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.

Note

Ensure that you run the offline downloader with the sh command. If you are not using the sh command to run the offline downloader, ensure that you have executable permissions (755) to run the script.

To run the Patch Downloader utility for Oracle Enterprise Linux

Enter the following command:

sh oel_downloader.sh -configFile "<downloaderConfigurationFilePath>"

This command uses the following variable:

<downloaderConfigurationFilePath>

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

To extract packages from ISO

Enter the following command:

sh oel_downloader.sh -extractPackagesFromISO -repoLocation "<patchRepositoryFilePath>" -isoLocation "<isoFilePath>" -osArch "<operatingSystemArchitecture>"

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"

To download patches for specified filters with a custom channel XML file

On the command line, enter the following command:

oel_downloader.sh/oel_downloader.bat -configFile <configFile> -customXMLFile <custom xml file path>

Tip

 To obtain more information about the offline patch download utility commands, version number, and available channels, see Obtaining information from the Patch Downloader utility for SUSE Linux Enterprise.

Related topic

Creating-a-patch-catalog-in-offline-mode

 

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