on Sun, Oct 15, 2000 at 10:14:07PM -0700, Jeff Hornsberger (jhornsbe@csc.uvic.ca) wrote:
> Hi, I just moved over from redhat and am wondering about how to do a few
> things in the debian package management system.
> 1) If you know the name of a file you need, but not what package it is
> part of, what's the best way to find out what package you need?
$ apt-cache search <pattern>
> 2) Once you install a package, how can you get a listing of what files
> in the system belong to that package?
$ dpkg -L package
> 3) How can you tell what installed package (if any) a particular file in
> the system belongs to?
$ dpkg -S /path/file
Note that not all filesystem files are listed as being associated with
some package. The command above works very well with program files, but
may not list a related package for some configuration or auxiliary
files added or created as part of the postinstallation process. You
might try searching on a parent directory in this case.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
Attachment:
pgpbR8qsk7ymY.pgp
Description: PGP signature