How to Install and Uninstall kernel-devel.x86_64 Package on Rocky Linux 8

Last updated: September 19,2024

1. Install "kernel-devel.x86_64" package

This tutorial shows how to install kernel-devel.x86_64 on Rocky Linux 8

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

2. Uninstall "kernel-devel.x86_64" package

Please follow the instructions below to uninstall kernel-devel.x86_64 on Rocky Linux 8:

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

3. Information about the kernel-devel.x86_64 package on Rocky Linux 8

Last metadata expiration check: 1:28:53 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : kernel-devel
Version : 4.18.0
Release : 372.19.1.el8_6
Architecture : x86_64
Size : 21 M
Source : kernel-4.18.0-372.19.1.el8_6.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.