How to install Kernel 5.0 in Ubuntu and derivatives?

Linux Kernel

Linux Kernel

This new version of Linux Kernel 5.0 was recently released which adds some significant new features and some other novelties. of which we can highlight the task scheduler with ARM big.LITTLE CPU based on Android, Adiantum file system encryption mechanism, FreeSync technology support in AMDGPU driver, the BinderFS file system, the ability to put the paging file in Btrfs, and more.

As you well know the kernel is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more.

Written from Scratch by Linus Torvalds (with the help of various developers), Linux is geared towards POSIX specifications and UNIX specifications only.

That is why having the updated Kernel is essential for the optimal functioning of the equipment.
Initially designed only for 386/486-based computers, Linux now supports a wide range of architectures, including 64 bit (IA64, AMD64), ARM, ARM64, DEC Alpha, MIPS, SUN Sparc, PowerPC and many more.

Kernel 5.0 Installation

Despite the fact that Kernel 5.0 was released a few hours ago, the developers in charge of the Ubuntu system kernel have already made the necessary compilations to make them available to users.
Packages with which we will support ourselves to be able to update the core of our system to this new released version.

It is important to mention that in order to install this new version of the Linux Kernel we must download the packages corresponding to the architecture of our system as well as the version that we want to install.

So that this method is valid for any version of Ubuntu that is currently supported, that is, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and the new version of Ubuntu that is version 18.10 as well as its derivatives of these.

If you do not know the architecture of your system, you can find out by opening a terminal with Ctrl + Alt + T and in it you will type the following command:

uname -m

Where if you receive an answer with "x86" it means that your system is 32 bits and if you receive an "x86_64" it means that your system is 64 bits.

With this information you will be able to know which packages are those corresponding to the architecture of your computer's processor.

Kernel 5.0

For those who still use 32-bit systems, they must download the following packages, for this we are going to open a terminal and in it execute the following commands:

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb

In the case of those who are 64-bit system users, the packages corresponding to the architecture of your processor are as follows:

 wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

At the end of the installation of the packages, we just have to execute the following command to install them on the system.

sudo dpkg -i linux-headers-5.0.0*.deb linux-image-unsigned-5.0.0*.deb linux-modules-5.0.0*.deb

Linux Kernel 5.0 Low Latency Installation

In the case of low latency kernels, the packets that must be downloaded are the following, For those who are 32-bit users, they must download these:

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-lowlatency_5.0.0-050000.201903032031_i386.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-lowlatency_5.0.0-050000.201903032031_i386.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-lowlatency_5.0.0-050000.201903032031_i386.deb

O for those using 64-bit systems the packages to download are the following:

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-lowlatency_5.0.0-050000.201903032031_amd64.deb 
wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-lowlatency_5.0.0-050000.201903032031_amd64.deb 
wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-lowlatency_5.0.0-050000.201903032031_amd64.deb

Finally we can install any of these packages with the following command:

sudo dpkg -i linux-headers-5.0.0*.deb linux-image-unsigned-5.0.0*.deb linux-modules-5.0.0*.deb

Finally, we just have to restart our system so that when we start it again, our system runs with the new version of the Kernel that we just installed.

How to install Kernel 5.0 with Ukuu?

Install Kernel 5.0

Si you are newbie or think you can mess up your system by doing the above steps, you can make use of a tool which can help you simplify this kernel installation process.

I already spoke in a previous article about this Ukuu tool, which you can know and install from the link below.

It is enough to run the application on the system after having installed it and the program has the same ease of updating Kernel is very and simple.

A list of kernels is posted from the kernel.ubuntu.com site. and it shows you notifications when a new kernel update is available.


4 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   French said

    If I do that method in Ubuntu 16.04.6 I get a libssl1.1 error, Ubuntu Xenial works with the libssl1.0 library, it would be very good to find a solution without needing to migrate to Ubuntu 18.04.2, because Xenial is very stable.
    http://djfranz.vivaldi.net

  2.   OLMER said

    Goodnight. If I use the Ukuu tool to install Kernel 5.0 in xubuntu, how do I know if the application installed Kernel 5.0 under the 64-bit system, which is the one I currently have.

    1.    David naranjo said

      The same tool marks you the Kernels that you have in the system. Greetings.

    2.    Nasher_87 (ARG) said

      Install all, 32 and 64, but only activate 64