Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
3  
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

1 Answer 1

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

 
discard

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.