• Post Reply Bookmark Topic Watch Topic
  • New Topic

Install specific tomcat version through apt-get

 
gigi proietti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to install on my Ubuntu 14.04 machine a specific version of Tomcat. The required one is the 6.0.0, and I want to install it using apt-get.

In the default PPAs that version is not available. Is there some PPA to add that provides that specific version?

I looked at these ones:

https://launchpad.net/tomcat6/+packages (older tomcat: 6.0.28)
https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=tomcat6 (older tomcat 6.0.45)


I need that specific version for testing a vulnerability and I need it from apt-get since the vulnerability is in the init.d script provided by Ubuntu or Debian installation.

Thanks
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Gigi!

OS package managers rarely give you a choice of what version of a product to install. At best, occasionally you'll get 2 major versions to chose from, such as Tomcat 7 and Tomcat 8.

That's because most packages are less forgiving of minor version variances than Java systems are and because the distro managers don't want to waste a lot of effort on similar-but-not-identical software.

The way to deal with that normally would be to download the Tomcat ZIP file straight from tomcat.apache.org and simply unzip it, but you're indicating a problem with an init script, which wouldn't be part of that download.

At best, you might be able to browse back generations of the Debian package sources in their archives (presumably git archives) and build one yourself.

Of course, Tomcat 6 releases before about 6.0.28 had some significant exploits in them, so no production system should be running them. For that matter, no actively-maintained system should still be running Tomcat 6 anyway - we're moving towards Tomcat 9 at the moment.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!