[lug] debian

David Morris lists at morris-clan.net
Thu Sep 18 16:02:24 MDT 2003

On Thu, Sep 18, 2003 at 05:48:18PM -0400, Hugh Brown wrote:
> > > Also, where can I find the dpkg equivalents of 
> > > 
> > > rpm -qa
> > > rpm -qi
> > > rpm -ql
> > 
> rpm -qa gives a list by package name of all packages installed.

dpkg --list
(or dpkg -l)

> rpm -qi <package> give info about the package

dpkg --status <pkg>
(or dpkg -s <pkg>)
(<pkg> might be zsh, for instance)

> rpm -ql <package> gives a listing of the files in a a package.

dpkg --listfiles <pkg>
(or dpkg -L)

> the other one I forgot was
> rpm -qf /path/to/file
> which gives the name of the package that owns that file

dpkg --search <file/file+path/directory>
(or dpkg -S)

Nothing obscure, the options do exactly what you would
expect them to.


More information about the LUG mailing list