How to Install and Uninstall kernel-devel.x86_64 Package on CentOS 8 / RHEL 8

Last updated: June 25,2024

1. Install "kernel-devel.x86_64" package

In this section, we are going to explain the necessary steps to install kernel-devel.x86_64 on CentOS 8 / RHEL 8

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

2. Uninstall "kernel-devel.x86_64" package

This tutorial shows how to uninstall kernel-devel.x86_64 on CentOS 8 / RHEL 8:

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

3. Information about the kernel-devel.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 5:11:14 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : kernel-devel
Version : 4.18.0
Release : 240.22.1.el8_3
Architecture : x86_64
Size : 17 M
Source : kernel-4.18.0-240.22.1.el8_3.src.rpm
Repository : baseos
Summary : Development package for building kernel modules to match the kernel
URL : http://www.kernel.org/
License : GPLv2 and Redistributable, no modification permitted
Description : This package provides kernel headers and makefiles sufficient to build modules
: against the kernel package.