I am working on RHEL 6 and would like to check if Tomcat is installed in the system. The Tomcat process is not running. Basically looking for some Unix utility which can detect the third party software installed in the system.
To check if a software/application is installed in Linux
3.6k Views Asked by Rohit At
2
Try
rpm -qa | grep tomcatthe
rpm -qawill list all packages, thegrepfilters for the string "tomcat"This will not require root access.
EDIT2
In case your application is installed from source, I think you can try as follows
which tomcatthat might come up with "/usr/sbin/tomcat" or something similar.
else try
find /usr/ -name 'tomcat' 2> /dev/nullreplace the
/usr/portion with another path where you suspect it can be present. else, try with just/.or even
locate tomcat | lessto have a look all paths related to tomcat.
In case you have the source directory from which it was installed, you can get the paths from there from the makefile.