Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is apt-get the generally recommended way to install things on Ubuntu? I tried to install manually, and now having some configuration issues with it.

I'd un-install it and use the apt get command to install it, but do I best install it by deleting the tomcat directories? There were probably some system variables set in the process. How do I make sure they don't mess up the future installation?

Also, how does the apt-get command know which version of Tomcat to pull? And how do I know which version to specify in a way that apt-get can understand? :)


share|improve this question

migrated from Apr 9 '11 at 0:32

This question came from our site for professional and enthusiast programmers.

Probably, but stackoverflow still has a larger and more vibrant community. So I thought I'd post it here. – Genadinik Apr 7 '11 at 17:37
up vote 0 down vote accepted

This is off-topic, but aptitude is the best way to install anything that can be installed via apt-get.

Uninstalling it when you didn't install it through a package manager is purported to be intractable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.