Ubuntu List Installed Packages

By | 2010/12/22

How do I list all installed packages in Ubuntu / Debian?

This command will list all installed packages:

dpkg --get-selections

Or do dump this list to a file, try this:

dpkg --get-selections > packages.txt