Paul E Condon wrote:

> How can I get a list of all the debian packages that are installed
> on my computer?
> 
> I see lots of stuff about getting a list of all the packages that are
> available. But thats not what I'm asking.
> 
> I know its there, because dselect somehow maintains it little
> symbols on each package line in its display. I would like that
> as a text file that I might pass through grep.

  dpkg -l

lists all installed packages with status and description. Oddly, the
dpkg man page suggests that it will list all available packages, but
in practice I find that it only lists installed ones.

If you want more than that, all the information you want is in files
under /var/lib/dpkg. You may need to write scripts to parse out what
you're looking for.

Craig

Attachment: pgpOMy2Xrxsex.pgp
Description: PGP signature

Reply via email to