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

Re: Questions About dpkg and friends



Jeff Hornsberger 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?

There's a search engine at the Debian homepage that works quite well for
this.  Start at http://packages.debian.org and then scroll down to the
bottom of the page.

> 2) Once you install a package, how can you get a listing of what files
> in the system belong to that package?

dpkg -L <name_of_package>

> 3) How can you tell what installed package (if any) a particular file in
> the system belongs to?

dpkg -S <name_of_file>
-- 
Mike Werner  KA8YSD   | He that is slow to believe anything and
                      | everything is of great understanding,
'91 GS500E            | for belief in one false principle is the
Morgantown WV         | beginning of all unwisdom.

Attachment: pgpQFtzBEX4a5.pgp
Description: PGP signature


Reply to: