Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 want to install the Apache Tomcat 6 on a new Fedora 19 but it does not work. When I type the following command:

yum  install tomcat6 tomcat6-webapps tomcat6-admin-web

I only get this message:

Loaded plugins: langpacks, refresh-packagekit
No package tomcat6 available.
No package tomcat6-webapps available.
No package tomcat6-admin-webapps available.

What am I doing wrong?

share|improve this question
I just found the command to install Tomcat 7 (yum install tomcat), but how can I get Tomcat 6? – FiveO Sep 19 '13 at 6:30
Fedora doesn't generally ship old packages. – Michael Hampton Sep 19 '13 at 6:45
oh good to know. I'll now go with a CentOS 6.4 - this will more represent a Server Linux with mature software version -> I don't need always the most recent version. – FiveO Sep 19 '13 at 12:33
up vote 1 down vote accepted

You can get all versions of tomcat here.

The usual way of installing upstream tomcat is by unpacking the tarball under /opt.

Another approach would be finding a SRPM for tomcat 6 and rebuilding the RPM in a Fedora 19 machine.

share|improve this answer
Agreed. As long as you have the JAVA_PATH environment variable set and a JDK installed, there's really no magic to getting Tomcat running in any environment - I even got it running in an EON system (a stripped-down OpenSolaris distribution that runs in RAM) using this method. – Aaron Mason Sep 19 '13 at 6:46
Ok, but isn't there a package ready to use? I don't want to install it in a directory i choose. This should be as standard as possible – FiveO Sep 19 '13 at 6:55
See @MichaelHampton's comment above for a hint. If you want Tomcat 6 in a Fedora 19 machine, you need to build it yourself and deploy it using a custom/private repository. – dawud Sep 19 '13 at 7:00

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.