3.2 Obtaining Oracle Linux 6 Update 4 Packages

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

You use yum rather than up2date to manage packages with Oracle Linux 6. Using up2date is not supported.

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 and the Unbreakable Enterprise Kernel Release 2. If you have upgraded your system from a previous release and do not want to install UEK Release 2, you must manually unsubscribe the server from this channel.

ULN also provides channels for Oracle-specific software packages such as Oracle's ASMlib userspace 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 4 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=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
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=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

3.2.3 About Oracle Linux Installation Media

Oracle Linux 6 Update 4 contains two distinct repository sources on the installation media for the Red Hat Compatible Kernel and the Unbreakable Enterprise Kernel. To configure yum to use both 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 4 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 4 UEK Media
baseurl=file:///media/ISOimage/UEK2
gpgkey=file:///media/ISOimage/RPM-GPG-KEY
gpgcheck=1
enabled=1

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.