1.2 Obtaining and Installing the UEK Packages

You can obtain and install the UEK and associated firmware packages in the following ways:

  • If you have a valid Oracle Linux Support subscription, you can obtain the latest Oracle Linux and UEK packages from the Unbreakable Linux Network (ULN) at http://linux.oracle.com. After you have logged in to ULN and registered your system, you can subscribe the system to the UEK channel for the appropriate Oracle Linux release and machine architecture. This channel will provide the latest Oracle Linux packages and updates for your system as they become available.

    For more information about ULN, see Chapter 3, The Unbreakable Linux Network

  • You can obtain Oracle Linux and UEK packages from the public yum package repository. To enable access, download the appropriate configuration file, such as http://public-yum.oracle.com/public-yum-ol6.repo to the /etc/yum.repos.d directory, and edit the file to enable the repositories from which you want to receive updates, such as ol6_UEK_base for the base Oracle Linux 6 Unbreakable Enterprise Kernel repository, ol6_UEK_latest for UEK bug fixes, errata and quarterly driver updates, and ol6_x86_64_UEKR3_latest for the kernel packages that are specific to UEK R3. You can use the yum command to download and install the packages.

    For more information about yum, see Chapter 2, Yum

To list the installed kernel packages and also the kernel packages that are available to be installed from the repositories that you have enabled, use the following yum command:

# yum list kernel*
Installed Packages
kernel.x86_64                 2.6.32-220.el6         @anaconda-OracleLinuxServer-2011...x86_64/6.2
kernel.x86_64                 2.6.32-279.el6         @ol6_latest                
kernel.x86_64                 2.6.32-279.2.1.el6     @ol6_latest                
kernel-devel.x86_64           2.6.32-220.el6         @anaconda-OracleLinuxServer-2011...x86_64/6.2
kernel-devel.x86_64           2.6.32-279.el6         @ol6_latest                
kernel-devel.x86_64           2.6.32-279.2.1.el6     @ol6_latest                
kernel-firmware.noarch        2.6.32-279.2.1.el6     @ol6_latest                
kernel-uek.x86_64             2.6.39-200.24.1.el6uek installed                  
kernel-uek-devel.x86_64       2.6.32-300.32.1.el6uek @ol6_latest                
kernel-uek-devel.x86_64       2.6.39-200.24.1.el6uek @ol6_UEK_latest            
kernel-uek-devel.x86_64       2.6.39-200.29.2.el6uek @ol6_UEK_latest            
kernel-uek-firmware.noarch    2.6.39-200.24.1.el6uek installed                  
kernel-uek-headers.x86_64     2.6.32-300.32.1.el6uek @ol6_latest                
Available Packages
kernel.x86_64                 2.6.32-279.5.2.el6     ol6_latest                 
kernel-debug.x86_64           2.6.32-279.5.2.el6     ol6_latest                 
kernel-debug-devel.x86_64     2.6.32-279.5.2.el6     ol6_latest                 
kernel-devel.x86_64           2.6.32-279.5.2.el6     ol6_latest                 
kernel-doc.noarch             2.6.32-279.5.2.el6     ol6_latest                 
kernel-firmware.noarch        2.6.32-279.5.2.el6     ol6_latest                 
kernel-headers.x86_64         2.6.32-279.5.2.el6     ol6_latest                 
kernel-uek.x86_64             2.6.39-200.29.3.el6uek ol6_UEK_latest             
kernel-uek-debug.x86_64       2.6.39-200.29.3.el6uek ol6_UEK_latest             
kernel-uek-debug-devel.x86_64 2.6.39-200.29.3.el6uek ol6_UEK_latest             
kernel-uek-devel.x86_64       2.6.39-200.29.3.el6uek ol6_UEK_latest             
kernel-uek-doc.noarch         2.6.39-200.29.3.el6uek ol6_UEK_latest             
kernel-uek-firmware.noarch    2.6.39-200.29.3.el6uek ol6_UEK_latest             

Alternatively, you can use the rpm -qa command to list the installed packages:

# rpm -qa | grep ^kernel | sort