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


Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.