Running the Patch Downloader utility for Red Hat Enterprise Linux


The following procedure describes how to run the Patch Downloader utility and how to extract RPM packages from a file prepared using the ISO format.

Warning

Note

You can run the Patch Downloader for Red Hat Enterprise Linux on a Microsoft Windows or Linux server.

To run the Patch Downloader utility on Red Hat Enterprise Linux

Enter the following command:

sh redhat_downloader.sh|redhat_downloader.bat
-configFile "<downloaderConfigurationFilePath>"
-rhnUser "<rhnUserName>" -rhnPass "<rhnPassword>"

This command uses the following variables:

<downloaderConfigurationFilePath>

Location of the Configuration file used by the Patch Downloader
Quotation marks around the path are required.

<rhnUserName>

User name required to log onto the Red Hat Network website
Quotation marks are required.

<rhnPassword>

Password required to log onto the Red Hat Network website
Quotation marks are required.

Warning

Note

If the downloader fails to connect to the Red Hat Network website, an error message is issued. This may happen, for example, if you provided an invalid user name or password or if your user account is locked out.

To extract packages from ISO

Enter the following command:

sh redhat_downloader.sh|redhat_downloader.bat
-extractPackagesFromISO -repoLocation "<patchRepositoryFilePath>"
-isoLocation "<isoFilePath>"
-osArch "<operatingSystemArchitecture>"
Warning

Note

You must execute the extractPackagesFromISO command on a Linux computer only.

This command uses the following variables:

<patchRepositoryFilePath>

Location of the patch repository used by the Patch Downloader
Quotation marks around the path are required.

<isoFilePath>

Location of the ISO from which RPMs are extracted
Quotation marks around the path are required.

<operatingSystemArchitecture>

An OS/architecture combination; for example, RHAS4-x86 or RHAS4-x86_64
Quotation marks are required.

For example:

redhat_downloader.bat
-extractPackagesFromISO -repoLocation "C:\redhat"
-isoLocation "\redhatDVD.iso"
-osArch "RHAS4-x86"

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation 8.2