The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 12,910     Votes:  5 
Tags: upgrade   kernel   updates   grub  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

Title: How do I update kernel to the latest mainline version?
ID: /2017/02/04/How-do-I-update-kernel-to-the-latest-mainline-version_
Created: February 4, 2017    Edited:  June 26, 2017
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

The risk of crashes is highest with release candidate new kernels at this time February 4, 2017 version 4.10 release candidate 4.10-rc6 is the newest. Mainline kernels are considered stable and the latest version here is 4.9.8 which I installed a few hours ago.

Finding the right kernel

Rather than the link you are using, go to ( - Kernel PPA Mainline) and press the End key:

Mainline kernel 1

Now click on the link 4.9.8 and this screen appears:

mainline kernel 2

Note the links with the black airbrush marks. These are the three we will download for Ubuntu 16.04 64-Bit using Intel or AMD processors.

Installing using Terminal

Open a terminal session with ctrl+Alt+T and use:

cd Downloads # Assuming this is your browser download directory
rm *.deb     # This erases all *.deb files, ensure only old ones are here

Now toggle back to the download screen above and single-click on all three of the .deb kernel downloads. After downloads complete (you’ll see status in your browser) toggle back to terminal session and use:

sudo dpkg -i *.deb
rm *.deb

Voila! - you are running the latest kernel when first option in grub boot menu is selected. Your older kernel versions are still available under grub’s Advanced Options menu.

After installing the newest kernel a dozen times you will ask the question “How do I remove older kernel versions?” and you will find those answers here and here in Ask Ubuntu.

⇧ Ubuntu (dual boot Windows) Ethernet Not Connecting/Detecting "W: Possible missing firmware for module i915_bpo" when updating initramfs  â‡©