How to install the latest kernel version on RHEL 8/9/10?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8

Issue

  • How to install the latest kernel version on RHEL 8/9/10?
  • How do I install the most recent kernel version on RHEL 8/9/10?
  • How to update to the newest available kernel on RHEL 8/9/10?
  • How to install a specific kernel version on RHEL 8/9/10?

Resolution

  • To install the latest available kernel on RHEL 8, 9 or 10.
# dnf install kernel
  • To install a specific kernel version on RHEL 8, 9 or 10.
# dnf install kernel-<version>
  • The kernel package is a meta-package that refers to multiples packages:
    • RHEL 8: kernel, kernel-core, kernel-modules
    • RHEL 9/10: kernel, kernel-core, kernel-modules, kernel-modules-core
  • Multiple kernel versions can coexist on a system, but only one kernel version is active per boot session.
  • Kernel related packages only work with the kernel with the same version.

Notes:

Diagnostic Steps

SBR
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.