17

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?

5
  • 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, 2014 at 3:05
  • Did you not see my answer below? Aug 5, 2014 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, 2014 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 Aug 5, 2014 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, 2014 at 3:30

4 Answers 4

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
  • 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, 2014 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 Mar 3, 2015 at 2:10
  • As a reference, it's all described here: wiki.ubuntu.com/Kernel/LTSEnablementStack
    – gkephorus
    May 31, 2015 at 18:01
  • Adding on to @ThiagoMacedo 's comment, there is libwayland missing. This should be sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic libwayland-egl1-mesa-lts-utopic. Jun 23, 2020 at 23:26
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
7
  • 3
    If wanted to manually add the PPA to sources.list and its key, what do I need to do?
    – Oxwivi
    Sep 17, 2014 at 11:38
  • 1
    How can you revert back to the current version of the kernel?
    – jcora
    Sep 19, 2014 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, 2014 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.. Nov 21, 2014 at 5:52
  • 1
    can you install multiple kernels in this manner and choose which one to use at boot?
    – waspinator
    Nov 11, 2015 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).

0

I started with Ubuntu 14.04.1 (kernel 3.13) and wanted to get only the 3.16 kernel and HWE stack. Run the following command:

sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic xserver-xorg-core-lts-utopic xserver-xorg-input-all-lts-utopic xserver-xorg-video-all-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic libwayland-egl1-mesa-lts-utopic

Add the kernel headers if you want too by adding linux-headers-generic-lts-utopic to the above command.

Or just download the 14.04.2 image from Ubuntu release archives. XD

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .