Installlion's Logo

How To Uninstall tomcat7 on wheezy

To uninstall tomcat7 just follow these instructions.

Uninstall just tomcat7

Servlet and JSP engine Debian 7.0 java 7.0.28-4+deb7u4

sudo apt-get remove tomcat7

Which will remove just the tomcat7 package itself.

Uninstall tomcat7 and its dependencies

sudo apt-get remove --auto-remove tomcat7

This will remove the tomcat7 package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for tomcat7 then this will work.

  Caution!   Purged config/data can not be restored by reinstalling the package.
sudo apt-get purge tomcat7  

Or similarly, like this tomcat7

sudo apt-get purge --auto-remove tomcat7  

Package Data

Package tomcat7
Version 7.0.28-4+deb7u4
Maintainer Debian Java Maintainers
Description Servlet and JSP engine
Distro debian
Release wheezy
Repo main
Section java