It is important to keep the Linux kernel updated if we need to get the most out of it and also maintain the security as well. Here we are providing the steps to update the current kernel of your Ubuntu OS to 5.0 version:
- Login to the server as root
- Check the current kernel version:
#uname -r
4.4.0-87-generic - Download the kernel for 64 bit OS:
# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
# wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb - Once the packages are downloaded, install it using the following command:
# sudo dpkg -i *.deb
- Wait for a few minutes till the installation is done.
- Once the process is completed, reboot the server:
# reboot
- Login to the server and verify the current kernel after reboot:
# uname -r
5.0.0-050000-generic
Click here to view the video tutorial for the same.