• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to uninstall Tomcat6

 
Sandra Bachan
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to unstall Tomcat6 from my Ubuntu OS for the time being.

I followed the directions in

http://www.webune.com/forums/uninstall-apache-tomcat-in-ubuntu.html

And didn't receive errors. However, this website

http://www.webune.com/forums/how-to-list-installed-packages-in-ubuntu.html

gives the command to find installed packages in ubuntu

When I went to terminal and typed in dpkg -L tomcat6, it gave

/var/log/tomcat6
/var/lib/tomcat6
/var/lib/tomcat6/webapps
/var/cache/tomcat6
/etc
/etc/tomcat6
/etc/tomcat6/catalina.properties
/etc/tomcat6/logging.properties
/etc/tomcat6/context.xml
/etc/tomcat6/server.xml
/etc/tomcat6/tomcat-users.xml
/etc/tomcat6/web.xml
/etc/tomcat6/policy.d
/etc/tomcat6/policy.d/01system.policy
/etc/tomcat6/policy.d/02debian.policy
/etc/tomcat6/policy.d/03catalina.policy
/etc/tomcat6/policy.d/04webapps.policy
/etc/tomcat6/policy.d/50local.policy
/etc/default
/etc/default/tomcat6
/etc/init.d
/etc/init.d/tomcat6
/etc/cron.daily
/etc/cron.daily/tomcat6


I even tried restarting, but no luck. How to I remove all reminants of Tomcat6? Once I get things on my computer taken care of, I will reinstall with APT
 
Piotr Nowicki
Ranch Hand
Posts: 611
1
IntelliJ IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy Sandra!

Try this:



to list all packages related with tomcat in your system.

Now you can use



where packageName is the name of package you get from the first step (second column).

This should firmly purge your tomcat from the system, but if it doesn't - give me a sign, and we will try something more :-)

Cheers!
 
Sandra Bachan
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy Pedro!

It works!

Will install Tomcat6 with APT shortly.....
 
Piotr Nowicki
Ranch Hand
Posts: 611
1
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm glad it helped :-)

Good luck!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic