PDA

View Full Version : [ubuntu] list packages



doru001
August 13th, 2009, 09:27 AM
I know that

dpkg --get-selections # and
dpkg -llist installed packages.

Please tell me what uninstalled packages do the following two commands list, what is the difference between them?

dpkg -l \* | wc -l
852
apt-cache search . | wc -l
25211I suppose that

apt-cache pkgnames | wc -l
32633 includes some older versions packages.