Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Running the Patch Downloader utility for Oracle Enterprise Linux


The following procedures describe running the Patch Downloader utility and extracting RPM packages from files using the ISO format.

To run the Patch Downloader utility for Oracle Enterprise Linux

Enter the following command:

sh oel_downloader.sh -configFile "<downloaderConfigurationFilePath>"
-oelUser "<oelUserName>" -oelPass "<oelPassword>"

This command uses the following variables:

<downloaderConfigurationFilePath>

The location of the Configuration File used by the Patch Downloader. Quotation marks around the path are required.

<oelUserName>

The user name required to log onto the Oracle Enterprise Linux website. Quotation marks around the path are required.

<oelPassword>

The password required to log onto the Oracle Enterprise Linux website. Quotation marks are required.

To extract packages from ISO

Enter the following command:

sh oel_downloader.sh -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>

The local location of the patch repository used by the Patch Downloader. Quotation marks around the path are required.a

<isoFilePath>

The path of the directory where the ISO file (from which the RPMs are extracted) is saved. Quotation marks around the path are required.

For example, if the ISO file is saved as /tmp/ol6.iso, you should use:

-isoFilePath "/tmp/"

<operatingSystemArchitecture>

An <OperatingSystem>-<Architecture> combination where:

  • <OperatingSystem> is either: OL6, OEL5 or OEL4
  • <Architecture> is either: x86 or x86_64

Quotation marks are required. For example, for Oracle Linux 6 with x86_64 architecture, you should use:

-osArch "OL6-x86_64"

 

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

BMC Server Automation 8.3