What is the Debian equivalent of Fedora's yum list installed | grep wc --lines?
|
|
||||
|
|
|
According to this thread: To list installed packages:
To see if a package is installed:
|
||||
|
There are subtle variants like
You can even poke directly into the dpkg database:
This one includes packages that are not installed but that have configuration files left over; you can list these with |
|||
|
|
|
|
|||
|
|
|
Synaptic, a GUI package manager, displays the count at the bottom of its main window.
|
|||
|
|
|
What I've been using is:
This will give you the number of installed packages. If you want to find if a particular package is installed, use:
I believe that this will solve Gilles' complaint about including other, non-installed packages. |
|||
|
|

