Report this

What is the reason for this report?

How to install latest Tomcat 7.0.x on Ubuntu 14.04?

Posted on February 19, 2017

Hello; I’m trying install Tomcat7 to ubuntu 14.04 but package list has no latest of Tomcat 7.0.x. How to upgrade Tomcat or how to install latest of Tomcat 7?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@gencaysahinn

When it comes to Ubuntu, you’re best bet is to deploy new Droplets with Ubuntu 16.04 as 14.04 is nearly EOL (end of life), which means support for it will be dropped. Ubuntu 16.04 is the newest LTS release (Long-Term Support).

In regards to Tomcat, if you need the latest version and the package repositories are not providing it yet, or won’t be, the alternative is indeed, as @hansen mentioned, to compile from source.

If you take a look here:

https://launchpad.net/ubuntu/+source/tomcat7

… you’ll see that Tomcat 7.0.75-1 is available, though it’s marked as unstable, thus you’d be using it at your own risk if you chose to install it. Only 7.0.72-1 is the latest stable release.

You would have to download a binary or source+compile to get the newest 7.0.75 instead of 7.0.52 delivered with Ubuntu 14.04 There’s a longer answer about this here: http://askubuntu.com/questions/403453/how-to-install-latest-version-of-tomcat-on-ubuntu-using-apt Alternatively you could upgrade your 14.04 to 16.04, but that would only give you 7.0.72

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.