How to Install Linux Kernel 5.0.5 On Ubuntu/LinuxMint

Share it:

Linux Torvalds introduced the Linux kernel 5.0.5 on 30th March 2019.

In this tutorial, I will show you how to Install the Latest version of Kernel 5.0.5 On Ubuntu 18.04 / 16.04 LTS and LinuxMint.

What's new in kernel version 5.0.5

  • Fix kernel crash for R6 in jump label branch function
  • fix enum type confusion
  • Fix clock source mask
  • Fix getting the kernel map
  • Avoid that a kernel warning appears during system resume
  • fix to avoid deadlock of atomic file operations
Note: These mainline kernels do not have any ubuntu provided patches or drivers and not supported or PRODUCTION use.

Installation steps

The below commands will work on Debian-based systems.

Step 1: Download the deb files from kernel.ubuntu.com or copy the below commands and paste it in terminal one by one according to your CPU architecture

For 32 bit systems

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-headers-5.0.5-050005_5.0.5-050005.201903271212_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-headers-5.0.5-050005-generic_5.0.5-050005.201903271212_i386.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-image-5.0.5-050005-generic_5.0.5-050005.201903271212_i386.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-modules-5.0.5-050005-generic_5.0.5-050005.201903271212_i386.deb

For 64 bit systems

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-headers-5.0.5-050005_5.0.5-050005.201903271212_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-headers-5.0.5-050005-generic_5.0.5-050005.201903271212_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-image-unsigned-5.0.5-050005-generic_5.0.5-050005.201903271212_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.5/linux-modules-5.0.5-050005-generic_5.0.5-050005.201903271212_amd64.deb
Step 2: After successful downloading install it
sudo dpkg -i linux-headers-5.0.5* linux-image-5.0.5*
Step 3: Verify installed Version

After reboot, your new kernel will be installed and default, for checking use uname command

uname -r

Removing Kernel 5.0.5

For removing the Kernel 4.14 run the below command in terminal.
sudo apt-get remove linux-headers-5.0.5* linux-image-5.0.5*
Share it:

Post A Comment:

0 comments: