Setting Up
-
2. Installing Kernel Headers
Then to Install Kernel Headers in CentOS
First, Update your System because if Not then the Headers may not be matching the Kernel:sudo dnf update
Or for a stronger one without backward Compatibility:
sudo dnf upgrade
Then possibly to activate a New Kernel Reboot with:
sudo reboot
And next install the Kernel Headers & Source play:
sudo dnf install kernel-headers kernel-devel
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo
So Now I am truly Happy if My Guide could Help you to Install Linux Kernel Headers on CentOS 9!
Contents