[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages

Antonio A. Lobato wrote:
> Due problems accordant my lasts mail`s, I just win to install
> packages manualy: downloading from internet to my windows partition
> and installing it from my hard disk ( ! ). My problem is being to
> find the dependences packages. To install the the package
> "Afterstep", I need 7 dependes packages, but I don`t find three:
> libxpm4, libz1, xlib6g.
> Does anybody knows how find it ?

If you have apt up-and-running on your box, you can look at its cache
to find out what the dependencies are and where to find the
corresponding packages.

E.g. if you want to install afterstep, enter this command (the -s means
that it will show you what it is going to do if you leave the -s out):

# apt-get -s install afterstep  
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  dpsclient imagemagick libbz2 libhdf4g libjpeg62 libmagick4g libtiff3g

Now for each of these packages (maybe you'll have to install more extra
packages in your specific situation, apt will tell you), you have to
look up its location in apt's cache:

# apt-cache show dpsclient | grep ^Filename | head -1
Filename: dists/potato/main/binary-i386/x11/dpsclient_0.5.9.1+000216-6.deb

If you can't find the location this way, you'll have to use "apt-cache
showpkg" to find out what package you really need (for example, libz1
is provided by zlib1g).

Hence the locations of the packages you still need are:


So you go to a nearby Debian mirror and download those files. The path
is relative to the root of the Debian tree on that server.


Reply to: