The goal of this document it to offer a solution to easily install Unbreakable Enterprise Kernel Release 7 on an Oracle Linux 8 system.

UEK R7, based on upstream Long Term Support (LTS) 5.15 Linux Kernel, is today available for both Oracle Linux 9 (announced on June, 30th 2022) and Oracle Linux 8; while it’s the default kernel for Oracle Linux 9, UEK R7 is actually optional and available as an update for Oracle Linux 8 Update 6.

If you are interested to understand why UEK R7 is compelling for your Oracle Linux 8 system, you can easily check all the main Reasons to install Unbreakable Enterprise Kernel Release 7 (UEK R7) on Oracle Linux.

Below the easy process on getting UEK R7 installed on Oracle Linux 8.

Update Oracle Linux 8 system

The first step is to get your Oracle Linux 8 system updated to the latest package releases available; the same update will include the yum configuration for UEK R7.

# dnf update -y

Enable UEK R7 Yum channel (while disabling UEK R6)

With the following steps we’re going to:

  • check actual yum configuration
  • disable UEK R6 yum channel
  • enable UEK R7 yum channel
  • re-check the yum configuration to verify UEK R7 Yum channel is properly enabled

# dnf repolist
# dnf config-manager –set-disabled ol8_UEKR6
# dnf config-manager –set-enabled ol8_UEKR7
# dnf repolist

Example output:

[root@ol8 ~]# dnf repolist
repo id           repo name
ol8_UEKR6         Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)
ol8_appstream     Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest Oracle Linux 8 BaseOS Latest (x86_64)
[root@localhost ~]# dnf config-manager –set-disabled ol8_UEKR6
[root@localhost ~]# dnf config-manager –set-enabled ol8_UEKR7
[root@localhost ~]# dnf repolist
repo id           repo name
ol8_UEKR7         Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64)
ol8_appstream     Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest Oracle Linux 8 BaseOS Latest (x86_64)

Update Oracle Linux 8 system to get UEK R7 installed

# dnf update -y

Example output:

[root@ol8 ~]# dnf update -y
Last metadata expiration check: 0:01:48 ago on Tue 12 Jul 2022 03:37:38 PM UTC.
Dependencies resolved.
=============================================================================================
 Package                                Arch   Version               Repository         Size
=============================================================================================
Installing:
 kernel-uek                             x86_64 5.15.0-0.30.19.el8uek ol8_UEKR7         458 k
 kernel-uek-devel                       x86_64 5.15.0-0.30.19.el8uek ol8_UEKR7          18 M
Upgrading:
 e2fsprogs                              x86_64 1.46.2-2.el8          ol8_UEKR7         1.0 M
 e2fsprogs-libs                         x86_64 1.46.2-2.el8          ol8_UEKR7         242 k
 libcom_err                             x86_64 1.46.2-2.el8          ol8_UEKR7          51 k
 libss                                  x86_64 1.46.2-2.el8          ol8_UEKR7          55 k
 xfsprogs                               x86_64 5.15.0-1.0.1.el8      ol8_UEKR7         1.1 M
Installing dependencies:
 avahi-libs                             x86_64 0.7-20.el8            ol8_baseos_latest  62 k
 boost-atomic                           x86_64 1.66.0-10.el8         ol8_appstream      14 k
 boost-chrono                           x86_64 1.66.0-10.el8         ol8_appstream      23 k
 boost-date-time                        x86_64 1.66.0-10.el8         ol8_appstream      29 k
 boost-filesystem                       x86_64 1.66.0-10.el8         ol8_appstream      49 k
 boost-regex                            x86_64 1.66.0-10.el8         ol8_appstream     280 k
 boost-system                           x86_64 1.66.0-10.el8         ol8_appstream      18 k
 boost-thread                           x86_64 1.66.0-10.el8         ol8_appstream      58 k
 boost-timer                            x86_64 1.66.0-10.el8         ol8_appstream      21 k
 checkpolicy                            x86_64 2.9-1.el8             ol8_baseos_latest 346 k
 ctags                                  x86_64 5.8-22.el8            ol8_appstream     170 k
 efivar-libs                            x86_64 37-4.el8              ol8_baseos_latest 108 k
 elfutils-devel                         x86_64 0.186-1.el8           ol8_baseos_latest  88 k
 elfutils-libelf-devel                  x86_64 0.186-1.el8           ol8_baseos_latest  60 k
 environment-modules                    x86_64 4.5.2-1.el8           ol8_baseos_latest 421 k
 gc                                     x86_64 7.6.4-3.el8           ol8_appstream     109 k
 gcc-toolset-11                         x86_64 11.1-1.el8            ol8_appstream      10 k
 gcc-toolset-11-annobin-docs            noarch 10.23-1.el8           ol8_appstream     110 k
 gcc-toolset-11-binutils                x86_64 2.36.1-2.0.1.el8      ol8_appstream     6.4 M
 gcc-toolset-11-binutils-devel          x86_64 2.36.1-2.0.1.el8      ol8_appstream     1.1 M
 gcc-toolset-11-dwz                     x86_64 0.14-2.el8            ol8_appstream     128 k
 gcc-toolset-11-dyninst                 x86_64 11.0.0-2.el8          ol8_appstream     3.9 M
 gcc-toolset-11-elfutils                x86_64 0.185-5.el8           ol8_appstream     478 k
 gcc-toolset-11-elfutils-debuginfod-client
                                        x86_64 0.185-5.el8           ol8_appstream      65 k
 gcc-toolset-11-elfutils-libelf         x86_64 0.185-5.el8           ol8_appstream     220 k
 gcc-toolset-11-elfutils-libelf-devel   x86_64 0.185-5.el8           ol8_appstream     122 k
 gcc-toolset-11-elfutils-libs           x86_64 0.185-5.el8           ol8_appstream     278 k
 gcc-toolset-11-gcc                     x86_64 11.2.1-9.1.0.2.el8    ol8_appstream      33 M
 gcc-toolset-11-gcc-c++                 x86_64 11.2.1-9.1.0.2.el8    ol8_appstream      13 M
 gcc-toolset-11-gcc-gfortran            x86_64 11.2.1-9.1.0.2.el8    ol8_appstream      14 M
 gcc-toolset-11-gdb                     x86_64 10.2-5.0.1.el8        ol8_appstream     4.3 M
 gcc-toolset-11-libquadmath-devel       x86_64 11.2.1-9.1.0.2.el8    ol8_appstream     184 k
 gcc-toolset-11-libstdc++-devel         x86_64 11.2.1-9.1.0.2.el8    ol8_appstream     3.3 M
 gcc-toolset-11-ltrace                  x86_64 0.7.91-1.el8          ol8_appstream     144 k
 gcc-toolset-11-make                    x86_64 1:4.3-2.el8           ol8_appstream     527 k
 gcc-toolset-11-perftools               x86_64 11.1-1.el8            ol8_appstream     7.7 k
 gcc-toolset-11-runtime                 x86_64 11.1-1.el8            ol8_appstream      25 k
 gcc-toolset-11-strace                  x86_64 5.13-7.el8            ol8_appstream     1.4 M
 gcc-toolset-11-systemtap               x86_64 4.5-6.el8             ol8_appstream      20 k
 gcc-toolset-11-systemtap-client        x86_64 4.5-6.el8             ol8_appstream     3.8 M
 gcc-toolset-11-systemtap-devel         x86_64 4.5-6.el8             ol8_appstream     2.3 M
 gcc-toolset-11-systemtap-runtime       x86_64 4.5-6.el8             ol8_appstream     507 k
 gcc-toolset-11-toolchain               x86_64 11.1-1.el8            ol8_appstream     7.9 k
 gcc-toolset-11-valgrind                x86_64 1:3.17.0-6.el8        ol8_appstream      11 M
 guile                                  x86_64 5:2.0.14-7.0.1.el8    ol8_appstream     3.5 M
 kernel-uek-core                        x86_64 5.15.0-0.30.19.el8uek ol8_UEKR7          39 M
 kernel-uek-modules                     x86_64 5.15.0-0.30.19.el8uek ol8_UEKR7          51 M
 libatomic_ops                          x86_64 7.6.2-3.el8           ol8_appstream      38 k
 libbabeltrace                          x86_64 1.5.4-3.el8           ol8_baseos_latest 200 k
 libgfortran                            x86_64 8.5.0-10.1.0.1.el8_6  ol8_baseos_latest 651 k
 libicu                                 x86_64 60.3-2.el8_1          ol8_baseos_latest 8.8 M
 libipt                                 x86_64 1.6.1-8.el8           ol8_appstream      50 k
 libquadmath                            x86_64 8.5.0-10.1.0.1.el8_6  ol8_baseos_latest 179 k
 libtool-ltdl                           x86_64 2.4.6-25.el8          ol8_baseos_latest  58 k
 libzstd-devel                          x86_64 1.4.4-1.0.1.el8       ol8_baseos_latest  44 k
 mokutil                                x86_64 1:0.6.0-1.0.1.el8     ol8_baseos_latest  49 k
 nspr                                   x86_64 4.32.0-1.el8_4        ol8_appstream     142 k
 nss                                    x86_64 3.67.0-7.el8_5        ol8_appstream     741 k
 nss-softokn                            x86_64 3.67.0-7.el8_5        ol8_appstream     487 k
 nss-softokn-freebl                     x86_64 3.67.0-7.el8_5        ol8_appstream     395 k
 nss-sysinit                            x86_64 3.67.0-7.el8_5        ol8_appstream      73 k
 nss-util                               x86_64 3.67.0-7.el8_5        ol8_appstream     137 k
 perl-Carp                              noarch 1.42-396.el8          ol8_baseos_latest  30 k
 perl-Encode                            x86_64 4:2.97-3.el8          ol8_baseos_latest 1.5 M
 perl-Errno                             x86_64 1.28-421.el8          ol8_baseos_latest  76 k
 perl-Exporter                          noarch 5.72-396.el8          ol8_baseos_latest  34 k
 perl-File-Path                         noarch 2.15-2.el8            ol8_baseos_latest  38 k
 perl-File-Temp                         noarch 0.230.600-1.el8       ol8_baseos_latest  63 k
 perl-Getopt-Long                       noarch 1:2.50-4.el8          ol8_baseos_latest  63 k
 perl-HTTP-Tiny                         noarch 0.074-1.el8           ol8_baseos_latest  58 k
 perl-IO                                x86_64 1.38-421.el8          ol8_baseos_latest 142 k
 perl-MIME-Base64                       x86_64 3.15-396.el8          ol8_baseos_latest  31 k
 perl-PathTools                         x86_64 3.74-1.el8            ol8_baseos_latest  90 k
 perl-Pod-Escapes                       noarch 1:1.07-395.el8        ol8_baseos_latest  20 k
 perl-Pod-Perldoc                       noarch 3.28-396.el8          ol8_baseos_latest  88 k
 perl-Pod-Simple                        noarch 1:3.35-395.el8        ol8_baseos_latest 213 k
 perl-Pod-Usage                         noarch 4:1.69-395.el8        ol8_baseos_latest  34 k
 perl-Scalar-List-Utils                 x86_64 3:1.49-2.el8          ol8_baseos_latest  68 k
 perl-Socket                            x86_64 4:2.027-3.el8         ol8_baseos_latest  59 k
 perl-Storable                          x86_64 1:3.11-3.el8          ol8_baseos_latest  98 k
 perl-Term-ANSIColor                    noarch 4.06-396.el8          ol8_baseos_latest  46 k
 perl-Term-Cap                          noarch 1.17-395.el8          ol8_baseos_latest  23 k
 perl-Text-ParseWords                   noarch 3.30-395.el8          ol8_baseos_latest  18 k
 perl-Text-Tabs+Wrap                    noarch 2013.0523-395.el8     ol8_baseos_latest  24 k
 perl-Time-Local                        noarch 1:1.280-1.el8         ol8_baseos_latest  33 k
 perl-Unicode-Normalize                 x86_64 1.25-396.el8          ol8_baseos_latest  82 k
 perl-constant                          noarch 1.33-396.el8          ol8_baseos_latest  25 k
 perl-interpreter                       x86_64 4:5.26.3-421.el8      ol8_baseos_latest 6.3 M
 perl-libs                              x86_64 4:5.26.3-421.el8      ol8_baseos_latest 1.6 M
 perl-macros                            x86_64 4:5.26.3-421.el8      ol8_baseos_latest  72 k
 perl-parent                            noarch 1:0.237-1.el8         ol8_baseos_latest  20 k
 perl-podlators                         noarch 4.11-1.el8            ol8_baseos_latest 118 k
 perl-threads                           x86_64 1:2.21-2.el8          ol8_baseos_latest  61 k
 perl-threads-shared                    x86_64 1.58-2.el8            ol8_baseos_latest  48 k
 policycoreutils-python-utils           noarch 2.9-19.0.1.el8        ol8_baseos_latest 253 k
 python3-audit                          x86_64 3.0.7-2.el8.2         ol8_baseos_latest  87 k
 python3-libsemanage                    x86_64 2.9-8.el8             ol8_baseos_latest 128 k
 python3-policycoreutils                noarch 2.9-19.0.1.el8        ol8_baseos_latest 2.2 M
 python3-setools                        x86_64 4.3.0-3.el8           ol8_baseos_latest 624 k
 scl-utils                              x86_64 1:2.0.2-15.el8        ol8_appstream      47 k
 source-highlight                       x86_64 3.1.8-17.el8          ol8_appstream     660 k
 tbb                                    x86_64 2018.2-9.el8          ol8_appstream     160 k
 tcl                                    x86_64 1:8.6.8-2.el8         ol8_baseos_latest 1.1 M
 unzip                                  x86_64 6.0-46.el8            ol8_baseos_latest 196 k
 xz-devel                               x86_64 5.2.4-4.el8_6         ol8_baseos_latest  62 k
 zip                                    x86_64 3.0-23.el8            ol8_baseos_latest 270 k

Transaction Summary
=============================================================================================
Install  108 Packages
Upgrade    5 Packages

Reboot to run UEK R7 on Oracle Linux 8

[root@ol8 ~]# uname -a
Linux ol8 5.15.0-0.30.19.el8uek.x86_64 #2 SMP Wed Jun 15 22:59:30 PDT 2022 x86_64 x86_64 x86_64 GNU/Linux