I Need a Specific Red Hat Package. Where do I Find it?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 5 & 6

Issue

  • I need to download and install a specific Red Hat package. How do I do that?

Resolution

There are two methods to accomplish this goal as outlined below.

Download via the Customer Portal
You can download packages via the customer portal package search. (https://rhn.redhat.com/rhn/channels/software/Search.do) Put in the name of the package, check the architectures you need and select "In the following architectures:". The search will provide you with all versions of the selected architectures. Select the package you need and download it. To install it, use following commands either in a connected or disconnected environment:

# yum localinstall /path/to/package
# rpm -i /path/to/package

NOTE: RPM command as well as yum command, when used in a disconnected environment, will not resolve dependencies automatically. So when using these commands withougt internet connection, you'll need to go back to the customer portal to download more packages may be necessary for dependancy resolution.

Download and Install Through yum

On a system that is connected to the internet, run the following command to download and install the package.

# yum install <packagename>.<version>.<architecture>

NOTE: "version" and "architecture" are both optional. You only need to have the package name. However, without a version number yum will install the latest version and without yum will install your system's architecture. So if you need a spefic arhitecture or version other than those defaults, you will need to specify that.
If you are having trouble getting the name exactly right then "# yum search
" may help

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.

Comments