I am using Ubuntu. How to know if Java is installed ?
migrated from stackoverflow.com Nov 11 '11 at 22:48
This question came from our site for professional and enthusiast programmers.
In your terminal type
The above answers seems pretty OBVIOUS..!! (only if you have to check JAVA)
For checking any package (whether it is installed or not), u can do the following :
It will get you a list of Packages (that you wanted to find out, whether installed or not). In the list, on the left hand side, (the key to the Your question) , there lies a small Alphabet denoting whether the corresponding package is already installed on your system or not.
For example, for java, you will do like :
and you will get something like :
Now the "i" on the left shows that it is installed.