Install Linux Kernel 5 on Ubuntu 18.04

0
82

The Linux kernel is the engine of our operating system. It is mainly responsible for running the hardware we have and managing computer resources. Its development is quite active, so we often have new versions. Recently version 5 of the Linux Kernel was released. And as we will know, it comes with a lot of new features for our operating systems. Although the most important thing is the change of numbering that will allow to carry it in a more understandable way. So today we will show you how to install Linux Kernel 5 on Ubuntu 18.04.

The numbering of the Linux kernel 5

A few months ago Linus Torvald himself announced that there was going to be a change of numbering. Basically, because he didn’t like high numbers and because it was easier to continue the development.

So, what we expected as the Linux Kernel 4.21 was transformed into the Linux Kernel 5. As you can see is quite a leap, although the news is very important, are expected too much by the change of numbering.

What’s New in Linux Kernel 5?

Like all new versions of the Linux Kernel, the news focuses on the inclusion of new drivers, updating and maintenance of architectures. In the release notes, Linus clarifies that this version is only a change of numbering and that it should not be a drastic change with respect to version 4.20. However, many security patches and bug fixes have been resolved.

With this new release, is open the development for the Kernel 5.1 that still do not know when it will see the light.

Some of the novelties of this version are:

  • Correction of cipher bugs regarding the ARM architecture.
  • ICMPv6 support has been added.
  • Completion of network documentation.
  • Fix manually set volume location server list on afs.
  • Fix hung sendto in tipc.

And many bug fixes. It is an important version for the number of bugs corrected.

Install the Linux Kernel 5 on Ubuntu 18.04

So, if you want to install this kernel for drivers or bugs on your system, you must first download these three files.

  • The Linux image.
  • The Kernel modules
  • Finally, the kernel headers.

So, open a terminal and run these commands if you are using a 64-bit system.

Let us create a folder to save the files:

:~$ mkdir kernel5 && cd kernel5
1.- Create the folder
1.- Create the folder

After that, you can start the download.

:~$ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
2.- Download the Linux Kernel 5 files
2.- Download the Linux Kernel 5 files

Next, this command:

:~ 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
3.- Download another Linux kernel file
3.- Download another Linux kernel file

Finally, the last file

:~$ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
4.- Download the last file
4.- Download the last file

After that, install all the packages with this command:

:~$ sudo dpkg -i *.deb
5.- Install Linux kernel 5
5.- Install Linux kernel 5

Then, reboot the system.

When the system has booted, query the current kernel with this command:

:~$ uname -r
6.- Check the kernel version
6.- Check the kernel version

And that’s it.

Conclusion

The Linux kernel is an essential part of our system. Therefore, it is advisable to be careful when installing it. In addition, it is only recommended to install it if you have hardware failures or if you have a very recent one.

Please share this post with your friends

LEAVE A REPLY

Please enter your comment!
Please enter your name here