How can I use 16.10 Yakkety kernel in 16.04 Xenial?

Solution 1:

The second point release for Ubuntu 16.04 (Xenial Xerus) is scheduled for February 16th, 2017. It will be powered by Linux kernel 4.8 replacing the currently used 4.4 branch.

To test the upcoming HWE Stack before the official release of 16.04.2:

sudo apt-get install linux-generic-hwe-16.04-edge

This package has been available in the xenial repository since early December 2016.

Note: This kernel package is no longer available under the name linux-generic-lts-yakkety described in older answers.

See https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack for more details on Ubuntu's new approach for offering HWE kernels.

Solution 2:

Do this:

sudo add-apt-repository ppa:canonical-kernel-team/ppa 
sudo apt update
sudo apt install linux-image-generic-lts-yakkety

Cheers!

Solution 3:

Here is what I did and it works great. I've been using it with the Cinnamon 3.2 desktop:

sudo add-apt-repository ppa:canonical-kernel-team/ppa
sudo apt update
sudo apt install linux-image-generic-lts-yakkety

This will allow any updates to come to you via the software updater.

If you don't like it, you can uninstall:

sudo apt-get install ppa-purge
sudo apt purge linux-image-generic-lts-yakkety
sudo ppa-purge ppa:canonical-kernel-team/ppa

Solution 4:

Now you can manually download and install mainline kernels from Ubuntu mainline PPA.

This is not recommended, because these kernels will never get updates and do not have Ubuntu patches.

After 16.10 is released, not immediately, linux-generic-hwe-16.04-edge will appear in official repos for 16.04.

You can install it and get the new kernel with regular updates.