Linux

Stable Version Of Linux Kernel 5.1 Is Out

Stable Version Of Linux Kernel 5.1 Is Out

Stable version of Linux Kernel 5.1 is out . In a post, Linus Torvalds made an announcement of the  release of Linux kernel 5.1. 

So it’s a bit later in the day than I usually do this, just because I
was waffling about the release. Partly because I got some small pull
requests today, but mostly just because I wasn’t looking forward to
the timing of this upcoming 5.2 merge window.

But the last-minute pull requests really weren’t big enough to justify
delaying things over, and hopefully the merge window timing won’t be
all that painful either. I just happen to have the college graduation
of my oldest happen right smack dab in the middle of the upcoming
merge window, so I might be effectively offline for a few days there.
If worst comes to worst, I’ll extend it to make it all work, but I
don’t think it will be needed.

Anyway, on to 5.1 itself. The past week has been pretty calm, and the
final patch from rc6 is not all that big. The shortlog is appended,
but it’s small changes all over. Networking, filesystem code, drivers,
tooling, arch updates. Nothing particularly odd stands out.

Of course, the shortlog below is just for that final calm week. On the
whole, 5.1 looks very normal with just over 13k commits (plus another
1k+ if you count merges). Which is pretty much our normal size these
days. No way to boil that down to a sane shortlog, with work all over.

Go out and test,

Linus

Stable Version Of Linux Kernel 5.1 Is Out

Some of the new features in the latest Linux Kernel are:

READ THIS ALSO  How To Install Cinnamon on Ubuntu OS

New I/O interface, New ACPI support, Habana Labs Goya AI processor support, Intel HDCP 2.2 support, R-Pi 3 Model A+ mainline kernel support, Intel 22260 WiFi support, Support for the usage of persistent memory as RAM and many more. The latest version of Linux Kernel wasn’t available on kernel.org at the time of this article writing, but it should be there by now.

Download Linux Kernel 5.1 Stable Version

 

How To Update Linux Kernel In Ubuntu

Method 1:

Upgrade Latest Linux Kernel In Ubuntu using UKTools

You can easily upgrade latest Linux kernel in Ubuntu automatically with this tools. You can also use this tool to upgrade Linux kernel to the latest version in Linux Mint.
Download and install UkTools:

git clone https://github.com/usbkey9/uktools && cd uktools
make

To upgrade Kernel:

$ do-kernel-upgrade

To remove old and unused kernels in Ubuntu :

$ do-kernel-purge

Method 2:

Update the Linux Kernel in Ubuntu with Ukuu

Ukuu is another popular Linux kernel management tool for Ubuntu. You can use it to upgrade Linux kernel in Ubuntu. It will automatically install main line kernel in Ubuntu.

Visit our article on Ukuu to know the process to upgrade Linux kernel in Ubuntu.

Method 3:

Update the Linux Kernel using Linux Kernel Utilities in Ubuntu

Linux Kernel Utilities is  a set of BASH shell scripts which can be used to update Linux kernels. There are 3 scripts in this shell scripts which are used for specific kernel management task.

  • compile_linux_kernel.sh
  • update_ubuntu_kernel.sh
  • remove_old_kernels.sh

Compile_linux_kernel.sh:-  This script will compile and install the latest Linux Kernel from the source.

READ THIS ALSO  List Of Server Monitoring Tools For Sysadmin

update_ubuntu_kernel.sh:- This script downloads and install/update the already compiled Ubuntu Kernel.

remove_old_kernel.sh:- This script removes all inactive and unused Linux Kernels from the system.

Install Linux Kernel Utilities In Ubuntu:

$ git clone https://github.com/mtompkins/linux-kernel-utilities.git
$ cd linux-kernel-utilities/
$ chmod 750 *.sh
$ git pull

Now, Run the following command to list the available Kernel.

$ ./compile_linux_kernel.sh

Follow the on screen instruction and select the latest kernel. follow the onscreen instructions to compile and install the selected Linux Kernel.

Run the following command to compile and install the latest available Linux Kernel:

$ ./compile_linux_kernel.sh --latest

Run the following command to install precompiled Kernel:

$ ./update_ubuntu_kernel.sh

It will list out the all available pre-compiled Linux Kernels from Kernel.ubuntu.com. You can see the number and you need to enter the desired number to install the selected Kernel.

Now restart your Ubuntu system.

Meanwhile, To install the latest available Linux Kernel, Run the following command:

$ ./update_ubuntu_kernel.sh --latest

Now, Run the following command to remove old kernels.

$ ./remove_old_kernels.sh

Method 4:

Update the Linux Kernel with apt-get

This is the most efficient and recommended method for upgrading the Linux Kernel in Ubuntu.

Run the following commands to update the Linux Kernel in Ubuntu:

$ sudo apt-get upgrade linux-image-generic

Method 5:

This is the manual method of updating Linux Kernel in Ubuntu operating system. You need to the download the Linux Kernel from the official source.

Or, You can run the following commands to download Linux Kernel for 64-Bit System ( Here we are using v5.0 but you can replace it v 5.1 as soon as it is available).

$ 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

Move to the directory where the files are downloaded and run this command to manually install the kernel. Here we are installing Linux Kernel 5.0

$ sudo dpkg -i *.deb