Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I need to practice writing some Java applications.

Can any one help me install Tomcat and tell me how to start and stop the server.

share|improve this question
And What about tomcat8 installing at ubuntu? Is this version of tomcat is available on Ubuntu software Center? Does this code works? sudo apt-get install tomcat8 – jujulal Aug 24 '14 at 8:38

Look at the documentation, the answer is essentially:

sudo apt-get install tomcat7

If you want a per-user instance installation (easier for development when starting-and-stopping are desirable) you can install the tomcat7-user package and use the utilities it provides (eg tomcat7-instance-create). This is all stuff covered by the documentation.

Note: tomcat6 and tomcat6-user packages are also available. tomcat5 is no longer packaged or recommended.

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.