How to detect whether tomcat and ant are installed on linux machine
I am trying to install Tomcat and Ant on my linux machine, but before installing them i just need to check whether they are already installed or not. Regarding tomcat : I googled a lot and searched on my machine in the following directories for tomcat /usr/local/, /opt/, /usr/share/ but i din't find tomcat folder in any of the above path, whether it indicates that tomcat is not installed ? so actually 1. what is the path to `look/find` exactly to know/check whether tomcat is installed or not in all linux machines 2. what will be the path the tomcat will be installed exactly after installation