Ubuntu – How to install Tomcat 8 on Ubuntu 14.04 Trusty LTS using the “apt-get” way

14.04tomcat

I've already installed java8 on this server, then I want to install tomcat8 using the "apt-get" way(not the binary way).But After lots of googling,I can't find the solution,most of the solutions are using the binary way(download the apache-tomcat-8.X.X.tar.gz,then unzip it and start the tomcat…)

Best Answer

Tomcat8 is now present in the repositories and can be installed using this aptitude command:

sudo apt-get install tomcat8