TUTORIALS 》 How to upgrade or install a latest current release Linux Kernel version manually in Ubuntu?
Linux Kernel developers release frequent monthly kernel versions. If you use Linux distribution such as Ubuntu, we need upgrade kernel version for fix security bugs after Linux kernel developers recently released the same. So, in this article you will learning about this. How to install latest version Linux Kernel in Ubuntu?
First we should be aware of release Linux kernel version, hence check the same in the main Linux Kernel website:
www.kernel.org. Here we can see the recent stable kernel version(s).
In this case as you can see in the below screenshot it is Linux Kernel version 4.14.11.
We have now two ways to do the same:
- download current kernel source code, compile the source and install the kernel (compiled binaries) to your machine
- we can directly install .deb files of a kernel which is pre-compiled
In this article I am going to discuss the second method:
You need latest version code of kernel compiled or built with different architecture. This is a mainline of Ubuntu where we can see all versions of Linux kernel compiled/pre-built .deb files: http://kernel.ubuntu.com/~kernel-ppa/mainline/.
So let us take current kernel version of Linux which is 4.14.11. You should use this link for get kernel version 4.14.11 with format:
So for Linux kernel version 4.14.11 it is: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.11
We can now download linux-headers from here:
and download linux-image from here:
Now we have two .deb files we can now install the same. First install linux-headers .deb file followed by linux-image .deb file as shown below.
[email protected]:~# dpkg -i linux-headers-4.14.11-041411_4.14.11-041411.201801022143_all.deb [email protected]:~# dpkg -i linux-image-4.14.11-041411-generic_4.14.11-041411.201801022143_amd64.deb
Now we can check if they are successfully installed as shown below:
NOTE: if you want you can remove old kernel versions with dpkg command.
Now to boot into your newly installed kernel, kindly reboot your system and in grub under the advance option for Ubuntu navigate via arrow keys and
choose/select kernel version 4.14.11 and press enter to boot into the same. The system should load successfully newly installed Linux Kernel version 4.14.11.
You can verify the same with uname command as shown below:
Join The Linux Channel :: Facebook Group ↗
Visit The Linux Channel :: on Youtube ↗
💗 Help shape the future: Sponsor/Donate