How to find if a specific package(program) is Installed

If you want to find, that a specific program is installed or not on Ubuntu, then there is a really good command:

apt-cache policy <package-name> (no sudo needed)

Which tells you the install software with it’s version number as well,if not then which version is availabe on the repository.

If it is not installed:

If it is installed:


dpkg: dpkg -l | grep <package name>

When it’s not installed won’t show output. When it is, it’ll show something like:

Credit for this post goes to Oli Warner.

Hope this will help you!

Please Remember me in your prayers!

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 )

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

%d bloggers like this: