16

sudo apt-get update && sudo apt-get dist-upgrade do not show the newest kernel.

How can I install 3.16 kernel on 14.04?

  • 1
    It's not been released as yet for 14.04: "It’s out, which means you want it. Well, hold your horses. Linux 3.16 is likely to form the basis of the Ubuntu Linux Kernel in 14.10, which is due later this year. The 14.10 kernel will also be provided to LTS users through a point release update shortly after. If you’re impatient and — most importantly — skilled enough, you can install Linux 3.16 in Ubuntu 14.04 LTS using the corresponding installers for your system listed in the Mainline kernel archive maintained by Canonical." omgubuntu.co.uk/2014/08/linux-kernel-3-16-changes-drivers – amanthethy Aug 5 '14 at 3:05
  • Did you not see my answer below? – ElefantPhace Aug 5 '14 at 3:23
  • 1
    What about it? We're addressing different things. You've answered the question by providing a method to install the newest kernel. I've commented on why his first attempt at installing it didn't work. – amanthethy Aug 5 '14 at 3:27
  • Lol there was never a first attempt. Look at OP and answerer. This is here for anyone who might want to upgrade to the latest and doesn't know how – ElefantPhace Aug 5 '14 at 3:29
  • :P My bad guy. Maybe reword your original question to make it clear you're posting a general guide here. – amanthethy Aug 5 '14 at 3:30
24

Now that 14.10 has been released, there is an easier and better way to get 3.16 on Ubuntu 14.04:

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

This package will always depend on the latest 3.16 image available. (This method may not have been ready at the time of this article.)

  • 4
    +1. This is a supported kernel backport in the hardware-enablement programme of Ubuntu LTS. More information here: wiki.ubuntu.com/Kernel/LTSEnablementStack As described on that page, make sure though, to also install the backported Xorg updates to prevent issues with your graphics/X stack (not available yet at the time of writing). – gertvdijk Dec 16 '14 at 12:06
  • 3
    seems to have the support right now sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic – Thiago Macedo Mar 3 '15 at 2:10
  • As a reference, it's all described here: wiki.ubuntu.com/Kernel/LTSEnablementStack – gkephorus May 31 '15 at 18:01
8

To install the latest kernel you can always visit kernel.ubuntu.com to see what's going on.

To install the latest 3.16 kernel all you need to do is:

cd /tmp

for 32bit:

wget \
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/linux-headers-3.16.0-031600-generic_3.16.0-031600.201408031935_i386.deb \
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/linux-headers-3.16.0-031600_3.16.0-031600.201408031935_all.deb \
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/linux-image-3.16.0-031600-generic_3.16.0-031600.201408031935_i386.deb

for 64bit:

wget \
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/linux-headers-3.16.0-031600-generic_3.16.0-031600.201408031935_amd64.deb \
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/linux-headers-3.16.0-031600_3.16.0-031600.201408031935_all.deb \
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/linux-image-3.16.0-031600-lowlatency_3.16.0-031600.201408031935_amd64.deb

then, making sure you have no other .debs in /tmp

sudo dpkg -i *.deb

then

sudo reboot
  • 3
    If wanted to manually add the PPA to sources.list and its key, what do I need to do? – Oxwivi Sep 17 '14 at 11:38
  • 1
    How can you revert back to the current version of the kernel? – jcora Sep 19 '14 at 21:35
  • 1
    For most users, the generic kernel will work fine, only use lowlatency if you need it. Overall performance will be worse on some systems if you use lowlatency. – John Nov 8 '14 at 3:40
  • 1
    Yes, I'm sure most people could've easily combined all of that into one, but that wasn't the purpose.. – ElefantPhace Nov 21 '14 at 5:52
  • 1
    can you install multiple kernels in this manner and choose which one to use at boot? – waspinator Nov 11 '15 at 18:27
4

I do recommend using the linux-image-generic-lts-utopic or whatever newer made available for Ubuntu 14.04 LTS.

Try avoid mixing release repositories, it may break things.

If linux-image-generic-lts-$(lsb_release -sc) is NOT new enough for you, try the Ubuntu Kernel mainline archive (manually download and install) http://kernel.ubuntu.com/~kernel-ppa/mainline/

NOTE: the drawback of using mainline kernel is that you may not be able to compile drivers or things like VirtualBox won't work with the cutting edge kernel. Last but not least, ksplice (uptrack) won't work with mainline kernels anyway (uptrack does support newer kernel from later releases on current LTS).

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.