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 https://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 Oracle® Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.

  • You can obtain Oracle Linux and UEK packages from the Oracle Linux yum server. You can either edit the yum repository configuration file at /etc/yum.repos.d/uek-ol6.repo or you can use yum-config-manager to enable and disable the repositories that you wish to configure. For example:

    # yum-config-manager --disable ol7_UEKR3
    # yum-config-manager --enable ol7_UEKR5 

    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
kernel-2.6.32-220.el6.x86_64
kernel-2.6.32-279.2.1.el6.x86_64
kernel-2.6.32-279.el6.x86_64
kernel-devel-2.6.32-220.el6.x86_64
kernel-devel-2.6.32-279.2.1.el6.x86_64
kernel-devel-2.6.32-279.el6.x86_64
kernel-firmware-2.6.32-279.2.1.el6.noarch
kernel-uek-2.6.39-200.24.1.el6uek.x86_64
kernel-uek-devel-2.6.32-300.32.1.el6uek.x86_64
kernel-uek-devel-2.6.39-200.24.1.el6uek.x86_64
kernel-uek-devel-2.6.39-200.29.2.el6uek.x86_64
kernel-uek-firmware-2.6.39-200.24.1.el6uek.noarch
kernel-uek-headers-2.6.32-300.32.1.el6uek.x86_64