3.2 Obtaining Oracle Linux 6 Update 5 Packages

3.2.1 About the Unbreakable Linux Network
3.2.2 About Public Yum
3.2.3 About Oracle Linux Installation Media

You can download a full Oracle Linux installation media image from the Oracle Software Delivery Cloud at http://edelivery.oracle.com/linux. You can also obtain Oracle Linux packages from the Unbreakable Linux Network (ULN) and the Oracle Public Yum server.

3.2.1 About the Unbreakable Linux Network

You have the option of registering a system with ULN when you install Oracle Linux 6 on a system. To register with ULN after installation, use the uln_register command.

To obtain Oracle Linux updates from ULN, you must have an Oracle Linux support subscription. For more information about ULN, see http://linux.oracle.com.

During ULN registration, your server is automatically registered with the latest channels for the base repository, the Unbreakable Enterprise Kernel Release 2, and Unbreakable Enterprise Kernel Release 3 (x86-64 only).

If you upgrade an x86-64 system and want to install the Unbreakable Enterprise Kernel Release 3, you must manually subscribe the system to the Unbreakable Enterprise Kernel Release 3 latest channel and unsubscribe the server from the Unbreakable Enterprise Kernel Release 2 latest channel before running yum update.

ULN also provides channels for Oracle-specific software packages such as Oracle's ASMlib user-space package and the Oracle Instant Client. To enable access to these packages, log in to ULN and subscribe your system to the Oracle Software channel.

3.2.2 About Public Yum

Oracle also provides all errata and updates for Oracle Linux via the Public Yum service, which includes updates to the base distribution, but does not include Oracle-specific software. You do not require an Oracle Linux support subscription to use this service. For more information on how to obtain updates from Public Yum, see http://public-yum.oracle.com.

By default, all new installations of Oracle Linux 6 Update 5 are automatically configured to use the public yum update service. If you subsequently register the system with ULN, the public yum service is automatically disabled.

The following entries in the /etc/yum.repos.d/public-yum-ol6.repo file enable you to download the latest available packages for Oracle Linux 6 and the Unbreakable Enterprise Kernel Release 2:

[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

The following entries in the /etc/yum.repos.d/public-yum-ol6.repo file enable you to download the latest available packages for Oracle Linux 6 and the Unbreakable Enterprise Kernel Release 3:

[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol6_UEKR3_latest]
name=Latest Unbreakable Enterprise Kernel Release 3 for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEKR3/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
Note

The ol6_UEKR3_latest repository is not available for i386 systems.

If you want to install packages from the playground or OFED repositories, add the following entries and enable them by setting the value of enabled to 1:

[ol6_playground_latest]
name=Latest mainline stable kernel for Oracle Linux 6 ($basearch) - Unsupported 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/playground/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0

[ol6_ofed_UEK]
name=OFED supporting tool packages for Unbreakable Enterprise Kernel on Oracle Linux 6 ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/ofed_UEK/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
Note

On a freshly installed Oracle Linux 6 Update 5 system, the public-yum-ol6.repo file uses the variables uek and uekr3 to enable or disable ol6_UEK_latest and ol6_UEKR3_latest. For an i386 system, the value of uek is set to 1 in /etc/yum/vars/uek to enable ol6_UEK_latest and the value of uekr3 is set to 0 in /etc/yum/vars/uekr3 to disable ol6_UEKR3_latest. For an x86-64 system, the value of uekr3 is set to 1 in /etc/yum/vars/uekr3 to enable ol6_UEKR3_latest and the value of uek is set to 0 in /etc/yum/vars/uek to disable ol6_UEK_latest.

If you subsequently register the system with ULN, the repository entries in public-yum-ol6.repo are disabled and the values of both uek and uekr3 are set to 0.

3.2.3 About Oracle Linux Installation Media

Oracle Linux 6 Update 5 contains three distinct repository sources on the installation media for the Unbreakable Enterprise Kernel Release 2, the Unbreakable Enterprise Kernel Release 3, and the Red Hat Compatible Kernel.

To configure yum to use both an Unbreakable Enterprise Kernel Release 2 and the Red Hat Compatible Kernel repositories from an ISO image of the installation media, create the file /etc/yum.repos.d/Media.repo containing entries similar to the following:

[ol6_base_media]
name=Oracle Linux 6 Update 5 Base Media
baseurl=file:///media/ISOimage/Server
gpgkey=file:///media/ISOimage/RPM-GPG-KEY
gpgcheck=1
enabled=1

[ol6_uek_media]
name=Oracle Linux 6 Update 5 UEK Media
baseurl=file:///media/ISOimage/UEK2
gpgkey=file:///media/ISOimage/RPM-GPG-KEY
gpgcheck=1
enabled=1

To configure yum to use both an Unbreakable Enterprise Kernel Release 3 and the Red Hat Compatible Kernel repositories from an ISO image of the installation media, create the file /etc/yum.repos.d/Media.repo containing entries similar to the following:

[ol6_base_media]
name=Oracle Linux 6 Update 5 Base Media
baseurl=file:///media/ISOimage/Server
gpgkey=file:///media/ISOimage/RPM-GPG-KEY
gpgcheck=1
enabled=1

[ol6_uekr3_media]
name=Oracle Linux 6 Update 5 UEK Media
baseurl=file:///media/ISOimage/UEKR3
gpgkey=file:///media/ISOimage/RPM-GPG-KEY
gpgcheck=1
enabled=1
Note

The ol6_uekr3_media repository is not available for i386 systems.

Adjust the value of the baseurl and gpgkey parameters to match the mount point of the ISO image on your system. If you do not require one of the repositories, set the value of the corresponding enabled parameter to 0.