I installed tomcat8 and then tried to use tomcat8-docs webapp manager but link did not work.

Can you please guide me to uninstall completely tomcat8 along with docs examples admin and other files.

1

1 Answer

Follow this on the command line

sudo apt remove --purge tomcat8 tomcat8-docs sudo apt autoremove sudo apt autoclean 

Use the above to purge any app from your system including config files.

Once this is complete you can use something like find or locate to remove any remaining stragglers.

sudo apt install locate && sudo updatedb locate tomcat 

And you can manually delete anything that might remain.