How to install webapps in tomcat6 on Red Hat Enterprise Linux6
Environment
- Red Hat Enterprise Linux 6
- tomcat6
Issue
- yum dependency resolution errors when trying to install tomcat6-webapps and tomcat6-admin-webapps:
# yum install tomcat6-admin-webapps tomcat6-webapps
[...]
--> Processing Dependency: jakarta-taglibs-standard >= 1.1 for package: tomcat6-webapps-6.0.24-80.el6.x86_64
--> Finished Dependency Resolution
Error: Package: tomcat6-webapps-6.0.24-80.el6.x86_64 (rhel-x86_64-server-6)
Requires: jakarta-taglibs-standard >= 1.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
#
Resolution
RHEL optional sub-channel or repository provides the webapps packages.
To install the package with yum, you need to subscribe the system to the channel or repository.
- For system registered to RHN Classic or Red Hat Satellite 5, subscribe the system profile to the sub-channel with the steps in How do I subscribe to the Optional or Supplementary channels in RHN Classic or RHN Satellite? or with the following commands:
[Red Hat Enterprise Linux Server]
# rhn-channel -a -c rhel-`uname -i`-server-optional-6 -u <Your RHN ID> -p <Your Password>
[Red Hat Enterprise Linux Workstation]
# rhn-channel -a -c rhel-`uname -i`-workstation-optional-6 -u <Your RHN ID> -p <Your Password>
- For systems registered via subscription-manager, enable the Optional repository with the step in How to access Optional and Supplementary channels, and -devel packages using Red Hat Subscription Manager (RHSM)?. for example:
[Red Hat Enterprise Linux Server]
# yum-config-manager --enable rhel-6-server-optional-rpms
[Red Hat Enterprise Linux Workstation]
# yum-config-manager --enable rhel-6-workstation-optional-rpms
After adding the channel or repository, install the packages:
# yum install tomcat6-webapps tomcat6-admin-webapps
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
