To install the latest stable version of the Linux kernel on Ubuntu using apt-get
, follow these steps:
- Update the package index:
sudo apt update
- Install the latest Linux kernel image and headers:
sudo apt install linux-image-generic linux-headers-generic
- Reboot the system to load the latest Linux kernel:
sudo reboot
After the reboot, you should be running the latest stable version of the Linux kernel on your Ubuntu system. You can verify the version of the installed Linux kernel by running the following command:
uname -r
Note: The above steps will install the latest stable version of the Linux kernel that is available through the official Ubuntu repositories. If you want to install a specific version of the Linux kernel, you can specify the version number in the apt install
command, e.g. sudo apt install linux-image-4.19.0-16-generic
.