[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 60243
  • Last Modified:

How do I uninstall Tomcat 7 from my Ubuntu server?

Hi all,

I installed Tomcat on my Ubuntu 14.04 server recently using the following procedure (I was following a tutorial I found on Digital Ocean):
sudo apt-get install tomcat7
sudo apt-get install tomcat7-docs tomcat7-admin tomcat7-examples
sudo apt-get install default-jdk
sudo apt-get install ant git

Open in new window

How do I uninstall it completely now? Of course I would like the rest of the server to remain intact and working.

1 Solution
You can use the following to remove the above packages:

sudo apt-get remove tomcat7 tomcat7-docs tomcat7-admin tomcat7-examples default-jdk ant git

Open in new window

Puspharaj SelvarajCommented:
I would recommend you to stick with binary zip packages, rather than from the apt repository.

You can easily manage them.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now