How do you check if an application is installed under linux?
Friday, December 4th, 2009 at
21:57
I am new to linux (just installed ubuntu 8.04) and I need GNU-make in order to install an application. How do I check if it (or any other application) is installed ?
I don’t know how the app is named exactly.
Filed under: Linux Applications
Like this post? Subscribe to my RSS feed and get loads more!
you could click Applications-Add/Remove software and check to see if you can install it or if it’s installed?
Use tab-completion. Enter the first few letters of the name on the command like and hit the <Tab> key.
Had you known the exact name:
which <app name>
synaptic
the app name is ‘make’
btw, if you install an app using synaptic, it will find and install dependencies for you.
<app name> –help
You can also use synaptic to do a search – either on the name of the program (which you say you don’t know) or part of the name, or what the program does – editor will get you a listing of files / programs that are related to editors – you scroll through the list and see if the program is there, and if the box indicates it is installed, there you know. You may have to be creative with the search words that you use.
dpkg-query -W ‘make’
If it comes up with something like "make 3.1 build xoxo" ; it means make is installed. Otherwise it will say "No matching packages found" or something similar.
Also, what exactly are you trying to install using make? If its a common application you do not need to compile yourself, its in the repos. You can open synaptic package manager and install from there or just do
sudo apt-get install packagename