How to Update Ubuntu Kernel Step-by-Step
To update the Ubuntu kernel, you can follow these steps:
- Open the terminal and enter the following command to check the current system’s kernel version:
uname -r
- To check the available kernel versions for installation, you can use the following command:
apt search linux-image
- To install the required kernel version, you can use the following command for installation:
sudo apt install linux-image-<version>-generic
Please replace
- Update the GRUB bootloader to select the new kernel version at system boot. Run the following command:
sudo update-grub
- Reboot the system to apply the new kernel version.
sudo reboot
After updating the kernel, your system will be running the latest kernel version. If you encounter any issues, you can restore the system by restarting and selecting the old kernel version.