How to Install Linux Kernel 4.4 in Ubuntu

upgrade Linux Kernel

Linus Torvalds finally announced the release of Linux Kernel 4.4 yesterday afternoon. He wrote on LKML:

Nothing untoward happened this week, so Linux-4.4 is out in all the usual places.

The changes since rc8 aren’t big. There’s about one third arch updates, one third drivers, and one third “misc” (mainly some core kernel and networking), But it’s all small. Notable might be unbreaking the x86-32 “sysenter” ABI, when somebody (*cough*android-x86*cough*) misused it by not using the vdso and
instead using the instruction directly.

Full shortlog appended for people who care or are just curious.

And with this, the merge window for 4.5 is obviously open, even if I won’t start actually pulling until tomorrow.

Linux Kernel 4.4 features:

  • initial AMD Stoney APU Support
  • numerous AMD GPU additions for AMD Carrizo, Tonga, or Fiji graphics processor
  • Raspberry Pi KMS driver for kernel mode-setting
  • VirGL VirtIO 3D GPU driver added to Gallium3D
  • many Network, WiFi, and eBPF updates
  • 64-bit ARM updates, nouveau improvements, and much more.

How to Install Kernel 4.4 in Ubuntu:

Ubuntu Kernel Team has made the binaries a few hours ago, available for download at the link below:

Download Linux Kernel 4.4 DEBs

You may first check out your OS type, 32-bit or 64-bit, (also arm, ppc64 packages available) then download and install below packages one by one:

  1. linux-headers-4.4.0-xxx_all.deb
  2. linux-headers-4.4.0-xxx-generic_xxx_i386/amd64.deb
  3. linux-image-4.4.0-xxx-generic_xxx_i386/amd64.deb

If you need a low latency system (e.g. for recording audio) then download & install below packages instead:

  1. linux-headers-4.4.0_xxx_all.deb
  2. linux-headers-4.4.0-xxx-lowlatency_xxx_i386/amd64.deb
  3. linux-image-4.4.0-xxx-lowlatency_xxx_i386/amd64.deb

For Ubuntu Server or those who prefer Linux commands, run below commands one by one to download and install the kernel binaries:

For 64-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

sudo dpkg -i *.deb

For 32-bit system:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_i386.deb

sudo dpkg -i *.deb

Restart computer after installation.

Uninstall the 4.4 Kernel:

For any reason you want to remove this kernel, restart your computer and select boot with the previous Kernel (under Advanced Options) when you’re at Grub boot menu, after logged in run below command in a terminal:

sudo apt-get remove linux-headers-4.4.0-* linux-image-4.4.0-*; sudo update-grub