How to install tomcat6 on Ubuntu 15.10?

I’ve just done a release upgrade to Ubuntu 15.10, and tomcat6 was removed.

If I try to install it again, I get an error:

E: Package ‘tomcat6’ has no installation candidate

How can I install it again?


Submit an 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.

In Ubuntu 15.10 Tomcat6 is in the Universe repository which may not be enabled by default. You can enable it with:

sudo add-apt-repository universe

and then try

sudo apt-get update
sudo apt-get install tomcat6