Wednesday 8 October 2008

Tip of the Day: View What Packages Are Installed on a Debian/Ubuntu System

The easiest way to view a complete list of packages that are installed on your Ubuntu or Debian system is to use the dpkg --get-selections command like this:

dpkg --get-selections > ~/installed_packages.txt

The command dpkg --get-selections simply returns a list of all the packages installed via apt. The above command will put the entire list inside your home directory, in the file installed_packages.txt, so you will be able to read it using a text editor.

No comments: