Last Updated: February 25, 2016
·
286
· gohan

How to list all ubuntu installed packages?

Source

To get a list of packages installed locally do this in your terminal:

dpkg --get-selections | grep -v deinstall

To save that list to a text file called packages on your desktop do this in your terminal:

dpkg --get-selections | grep -v deinstall > ~/Desktop/packages

(you don't need to run this as the superuser, so no sudo necessary here)