Fwd: Debian apt/dpkg question

Paul Schulz pschulz01 at gmail.com
Fri Sep 15 01:11:30 CST 2006


Hi Jim,

On 9/15/06, Jim O'Halloran <jim at worldwebms.com> wrote:
> Hi Guys,
>
> This is probably a really simple question. but I can't readily find an
> answer in the various man pages, howtos, etc that I've read.  I'm
> looking for the Debian equivelent of "rpm -qa" (for those not familiar
> with RPM, that will list all of the currently installed packages and
> their version numbers).

To get a list of packages, try 'dpkg -l' (lower case l).
To get a list of the packages and their install status, you can use..
  dpkg --get-selections
which you can also set by using
  dpkg --set-selections <  file-list

See 'man dpkg' for more information.

Cheers,
Paul


More information about the linuxsa mailing list