This question already has an answer here:
I want to find out if a program - Chromium for example - is installed on Ubuntu or not. Manually or as a package.
How do I know if a program is installed via command line?
|
This question already has an answer here: I want to find out if a program - Chromium for example - is installed on Ubuntu or not. Manually or as a package. How do I know if a program is installed via command line? |
||||
marked as duplicate by Radu Rădeanu Jul 7 '14 at 12:14This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
||||
|
|
||||
|
And there's always Not installed:
Installed:
Or
It's obviously a fuzzier search but handy if you're not sure which package you're looking for. For manually installed things...A bit harder but if they're on the current path, you could just run them. That's a bit of mission so I'd rather just run:
And:
Which is better?That depends on the sanity of user. There's nothing to stop somebody installing something called But assuming the owner is sane - packages should be good enough for most people. |
|||
|
|
|
e,g, Chromium, Run in terminal
To check whether a package is install also
You will get like this if it is installed:
To listing all installed packages, just use
OR Use Ubuntu Software Center type If you see the green icon like this:
That means it is installed :) |
|||||||||
|
|
For a graphical view, open the
You may want to click the If you want a command line solution, then
|
|||
|
|
|
Well, if you really want anything that is installed, your best bet would be to try to run it. Maybe you can get away with searching for the starter file in all $PATH directories, but if someone installs something in /opt for example, this won't work. |
|||||
|
|
You can make use of "dpkg" command. Refer this link http://ssatish.wordpress.com/2012/12/31/ubuntu-how-to-check-if-a-software-is-installed/ |
|||||||||||||||||
|