How to list all installed packages in Ubuntu

In Ubuntu, a list of all packages that are installed can be obtained using the dpkg program: dpkg --get-selections

The --get-selections option is needlessly verbose, there is no shorter version of it and it is hard to recall.

A better option is to use: dpkg -l

This lists other details of the package along with its name, like version, architecture and description. But hey, the option is easier to recall 🙂

Tried with: Dpkg 1.17.5 and Ubuntu 14.04

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s