Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Red Hat Enterprise Linux 5 > Issue <<  319 of 367 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 13005
Last update: 07-07-08
Issue:
How do I download a RPM package only from Red Hat Network (RHN), without installing it on Red Hat Enterprise Linux 5?
Resolution:

A yum plugin called downloadonly which is able to skip the rpm installation during the yum installation process.

Install the yum-downloadonly package as following command:


# yum install yum-downloadonly -y

Install a package using yum with --downloadonly and --downloadder parameters. For example: To download the yum-aliases package to /root directory from Red Hat Network:


# yum install yum-aliases --downloadonly --downloaddir=/root -y
...
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 12 k
Downloading Packages:
(1/1): yum-aliases-1.1.10 100% |=========================| 12 kB 00:00


exiting because --downloadonly specified

The yum utility will download the package from Red Hat Network and skip the installation step. The package will be store on the specified path.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Red Hat Enterprise Linux 5 > Issue <<   319  of  367  >>