How to Install / Upgrade to Linux Kernel 3.18.2 in Ubuntu

Last updated: January 9, 2015

Linux Kernel 3.18.2

The second update of the latest stable Linux Kernel 3.18 is out! Greg Kroah-Hartman announced this kernel and urged all users of 3.18 kernel series to upgrade as soon as possible.

Linux Kernel 3.18.2 various important improvements, such as architecture updates (ARM, ARM64, x86), driver updates for mac80211 wireless, various fixes to Btrfs filesystem, and more. See the release note for details.

Upgrade to Kernel 3.18.2 in Ubuntu:

Ubuntu Kernel team has made the binary packages of this kernel release, available for download at the link below:

DOWNLOAD KERNEL 3.18.2 .DEBs

First check out your OS type, 32-bit (i386) or 64-bit (amd64), then download and install the packages below in turn:

  1. linux-headers-3.18.2-031802_xxx_all.deb
  2. linux-headers-3.18.2-031802-generic_3.18.2-031802.xxx_i386/amd64.deb
  3. linux-image-3.18.2-031801-generic_3.18.2-031802.xxx_i386/amd64.deb

If you need a low latency system (e.g. for recording audio) then download and install the packages below in turn:

  1. linux-headers-3.18.2-031802_xxx_all.deb
  2. linux-headers-3.18.2-031802-lowlatency_3.18.2-031802.xxx_i386/amd64.deb
  3. linux-image-3.18.2-031801-lowlatency_3.18.2-031802.xxx_i386/amd64.deb

For Ubuntu Server without graphical session, run below commands one by one to download & install the kernel debs:

For 64-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.2-vivid/linux-headers-3.18.2-031802-generic_3.18.2-031802.201501082011_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.2-vivid/linux-headers-3.18.2-031802_3.18.2-031802.201501082011_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.2-vivid/linux-image-3.18.2-031802-generic_3.18.2-031802.201501082011_amd64.deb

sudo dpkg -i linux-headers-3.18.2-*.deb linux-image-3.18.2-*.deb

For 32-bit system, run:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.2-vivid/linux-headers-3.18.2-031802-generic_3.18.2-031802.201501082011_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.2-vivid/linux-headers-3.18.2-031802_3.18.2-031802.201501082011_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.2-vivid/linux-image-3.18.2-031802-generic_3.18.2-031802.201501082011_i386.deb

sudo dpkg -i linux-headers-3.18.2-*.deb linux-image-3.18.2-*.deb

Once done, restart the machine. For proprietary graphics driver, you may have to re-install/re-built your driver.

If for some reason, the new kernel does not work properly for you, reboot with the previous Kernel (Grub boot loader -> Advanced -> select previous kernel) and run below command to remove Linux Kernel 3.18.2:

sudo apt-get remove linux-headers-3.18.2-* linux-image-3.18.2-* && sudo update-grub

That’s it. Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

One response to How to Install / Upgrade to Linux Kernel 3.18.2 in Ubuntu

  1. Bangau Alexandru January 9, 2015 at 2:31 pm

    What about the lowlatency version ?