Skip to content

Instantly share code, notes, and snippets.

@ToanPV90
Last active August 1, 2020 21:52
Show Gist options
  • Save ToanPV90/356af7529818f3b0074c0200f078412a to your computer and use it in GitHub Desktop.
Save ToanPV90/356af7529818f3b0074c0200f078412a to your computer and use it in GitHub Desktop.
How To Uninstall tomcat7 On Ubuntu 15.04
To uninstall tomcat7 just follow these instructions.
Are you having problems? You can always add tomcat7again by following the instructions at this link.
Uninstall just tomcat7
`sudo apt-get remove tomcat7`
This will remove just the tomcat7 package itself.
Uninstall tomcat7 and it's 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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment