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

Last updated: January 10,2025

1. Install "kernel-devel.x86_64" package

Please follow the guidelines below to install kernel-devel.x86_64 on CentOS Stream 8

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

2. Uninstall "kernel-devel.x86_64" package

This is a short guide on how to uninstall kernel-devel.x86_64 on CentOS Stream 8:

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

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

Last metadata expiration check: 3:57:20 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : kernel-devel
Version : 4.18.0
Release : 540.el8
Architecture : x86_64
Size : 28 M
Source : kernel-4.18.0-540.el8.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.