How to Install Kernel Headers
-
2. Updating System
Now it’s recommended to Update System
With:Copysudo apt update && sudo apt upgrade
And in case of a New Kernel setup then to Reboot:
Copysudo reboot
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo -
3. Installing Linux Headers
Then to Install Kernel Headers in Ubuntu
Simply play:Copysudo apt install linux-headers-`uname -r`
In case of Not found issue then priorly upgrade your system:
Copysudo apt upgrade
Next Reboot with:
Copysudo reboot
So Now I am truly Happy if My Guide could Help you to Install Linux Kernel Headers on Ubuntu 23.04 Lunar!
Contents