Ubuntu Kernel: Upgrade or Downgrade Guide
You can upgrade or downgrade the Ubuntu system’s kernel version by following these steps:
Upgrade the kernel version.
- Open the terminal and input the following command to update the software package list:
sudo apt update
- Install the latest kernel version package.
sudo apt install linux-generic
- Please restart the system to apply the new kernel version.
sudo reboot
Downgrade the kernel version.
- Open the terminal and type the following command to check the installed kernel version:
dpkg --list | grep linux-image
- Choose the kernel version you want to downgrade to, and enter the following command to uninstall the current kernel version:
sudo apt remove linux-image-<version>-generic
(Note: Replace
- Install the kernel version that needs to be downgraded to.
sudo apt install linux-image-<version>-generic
Please replace
- Restart the system to apply the new kernel version.
sudo reboot
Please remember to backup important data before upgrading or downgrading the kernel version, in case any unexpected situations arise.