How to Install and Uninstall kernel-headers.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: November 29,2024

1. Install "kernel-headers.x86_64" package

This tutorial shows how to install kernel-headers.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install kernel-headers.x86_64

2. Uninstall "kernel-headers.x86_64" package

Learn how to uninstall kernel-headers.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove kernel-headers.x86_64 $ sudo dnf autoremove

3. Information about the kernel-headers.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 0:58:15 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : kernel-headers
Version : 4.18.0
Release : 513.18.1.el8_9
Architecture : x86_64
Size : 11 M
Source : kernel-4.18.0-513.18.1.el8_9.src.rpm
Repository : ubi-8-baseos-rpms
Summary : Header files for the Linux kernel for use by glibc
URL : http://www.kernel.org/
License : GPLv2 and Redistributable, no modification permitted
Description : Kernel-headers includes the C header files that specify the interface
: between the Linux kernel and userspace libraries and programs. The
: header files define structures and constants that are needed for
: building most standard programs and are also needed for rebuilding the
: glibc package.