How can I check whether Apache Tomcat is installed or not in my remote linux machine. I am using putty for connecting the machine. Is there any command to find that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You mentioned that you’re running Ubuntu. Ubuntu is Debian based, so you would use
dpkgThis will first list all installed packages, then search for something that contains tomcat. If tomcat shows up, then it’s installed.
See this blog post for more useful commands.