Switch Ubuntu Kernel Version: Step-by-Step Guide
To switch the kernel version of Ubuntu, you can follow these steps:
- Open the terminal and type the following command to view the current installed kernel version:
uname -r
- Use the following command to list the kernel versions that can be installed:
apt search linux-image
- Choose the kernel version to install and use the following command for installation:
sudo apt install linux-image-<version-number>
For example, to install kernel version 4.15.0-29, you can use the following command:
sudo apt install linux-image-4.15.0-29
- After the installation is completed, restart the system to apply the new kernel version.
sudo reboot
- After the system is restarted, you can use the following command to confirm if the new kernel version is in effect:
uname -r
By following the steps above, you can successfully switch Ubuntu’s kernel version. For further kernel customization or advanced configuration, please refer to the official Ubuntu documentation or related resources.