Ubuntu – How to check if a software is installed

ubuntu-logo
From Ubuntu 12.10, Greetings ;)

How to check if a software is installed in Ubuntu. There are two methods explained here.

METHOD 1: FROM TERMINAL
METHOD 2: USING GUI – FROM “UBUNTU SOFTWARE CENTER”
 
METHOD 1: FROM TERMINAL
To check whether a software is installed, perform the following steps.

STEP 1 :
Open the terminal.  You can find the terminal from your Launcher or Dash home.
Go to Dash home and type in the searchbox “terminal”, you will be able to find the application in the result. Click to open it.

dash home_terminal



STEP 2:

Change to root user. Use the command “sudo -s” and provide your user password.

NOTE: In the screenshot below, “SATISH” is the username . “Rio” is the name of the computer.

sudo -s

STEP 3:

Execute “dpkg -s <package name>”.

NOTE: Package name is the name of the ‘software installation setup’ which in most cases will be same as the software name. In some scenarios, the package name might be slightly different from the software name.

dpkg -s softwarename

The above mentioned command will help you to reveal whether a software is installed in Ubuntu. The output would be something like this.

output

NOTE: The output might run a little long, that it might make you miss viewing the INSTALL STATUS. In that case, just scroll above to see the installation status. Generally Installation Status will be displayed at the very second line like in the screenshot above.


 

METHOD 2: USING GUI – FROM “UBUNTU SOFTWARE CENTER”
STEP 1:
Go to Dash home and type in the searchbox “ubuntu software center”, you will be able to find the application in the result. Click to open it.

dash home_ubuntu software center

STEP 2: 

In the search box at the right corner, type in the software name that you want to check.

This would display all matching entries. If you are able to see a GREEN TICK over the icon of the software, then it is installed.

You will be able to see two screenshots below pointing out one software which is installed and the other which is not.

ubuntu_vlc

VLC Media Player

Banshee Media Player

THE END

Hope it helps :) Cheerz

Also check the link below for another solution.

http://choorucode.com/2013/01/21/how-to-find-if-a-package-is-installed-in-ubuntu/



About these ads

Tags: , , , ,

One response to “Ubuntu – How to check if a software is installed”

  1. Alimjan Yasin says :

    nice, very good for beginners like me, thanks

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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: