2

I have been able to download kernel 3.16 from the ubuntu mainline kernel repository . However, I am more interested to know if the kernel shipped by default with Ubuntu 14.10 can be installed in Ubuntu 14.04 LTS.

Please note, the mainline 3.16 kernel is a little different from the one shipped with Ubuntu 14.10 and I am interested in the later. And, this answer is not what I am looking for.

2
  1. Add Utopic main repository

    sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu utopic main"
    
  2. Update package lists

    sudo apt-get update
    
  3. Update kernel meta package to install last version

    sudo apt-get install linux-generic
    
  4. Remove repository, to avoid any harmful update of other packages

    sudo add-apt-repository -r "deb http://archive.ubuntu.com/ubuntu utopic main"
    
  5. Update package lists

    sudo apt-get update
    

Tested on:

~$ uname -a
Linux machine 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
~$ lsb_release -rc
Release:    14.04
Codename:   trusty

Note:

To update kernel follow same steps, only use update repository instead:

"deb http://archive.ubuntu.com/ubuntu utopic-updates main"

In case you want only security updates, use:

"deb http://archive.ubuntu.com/ubuntu utopic-security main"
7
  • Nice! It worked! – Ubuntuser Oct 26 '14 at 17:40
  • 2
    Note that you won't be getting kernel updates afterwards! – Vilmantas Baranauskas Nov 7 '14 at 7:35
  • 1
    @Ubuntuser I suggest that you don't always run the newer kernels on 14.04, you're going to run into issues such as hardware driver failures potentially. The security fixes for the issues fixed in later kernels usually end up in the LTS kernel, the kernel and security teams are pretty decent at keeping up to date with those. – Thomas Ward Nov 7 '14 at 17:26
  • 1
    I'm using Ubuntu 20.04, I installed Ubuntu Mainline Kernel Installer to upgrade the last Kernel as 5.8.14, and now I followed your steps to set up the Ubuntu's default as 5.4.0.48.52 but after reboot, it's till running the Kernel 5.8.14. How can I set up to run the Ubuntu's default about Kernel? – luisito_36 Oct 8 '20 at 13:23
  • 1
    @luisito_36 You can set older kernel as default by following the instructions in this post: askubuntu.com/q/216398/26246 – user.dz Oct 8 '20 at 15:35
6

There is a better way:

sudo apt-get install linux-image-generic-lts-utopic

This is from: How can I install 3.16 kernel on Ubuntu 14.04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.