As a reminder, Kernel 3.18 is a LTS (long term release) version and gets constantly updated, receiving security patches and stability enhancements.
Kernel 3.18.19 LTS has been recently released, bringing fixes only.
Installation instructions:
Compiling a Linux kernel is a little difficult and takes some time, but the Ubuntu (and derivative) users do not have to worry about that, because Canonical provides deb packages for these systems, via its kernel.ubuntu.com repository.
The below commands are available for all the Ubuntu, Linux Mint, Elementary OS, Pinguy OS, Deepin and other Ubuntu derivative systems like Peppermint, LXLE, Linux Lite, Voyager etc. Pay attention to download and install the Kernel patch for your system’s architecture (i386 debs for 32 bit systems and amd64 debs for 64 bit systems).
How to install Kernel 3.18.19 on 32 bit Ubuntu and derivative systems:
Download the needed packages:
$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.9-vivid/linux-headers-3.18.9-031809_3.18.9-031809.201503080036_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.9-vivid/linux-headers-3.18.9-031809-generic_3.18.9-031809.201503080036_i386.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.9-vivid/linux-image-3.18.9-031809-generic_3.18.9-031809.201503080036_i386.deb
Install the Kernel patch:
$ sudo dpkg -i linux-headers-3.18*.deb linux-image-3.18*.deb
After the kernel has been successfully installed, reboot:
$ sudo reboot
Optional, remove the kernel:
$ sudo apt-get remove linux-headers-3.18* linux-image-3.18*
How to install Kernel 3.18.19 on 64 bit Ubuntu and derivative systems:
Download the needed packages:
$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.9-vivid/linux-headers-3.18.9-031809_3.18.9-031809.201503080036_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.9-vivid/linux-headers-3.18.9-031809-generic_3.18.9-031809.201503080036_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.9-vivid/linux-image-3.18.9-031809-generic_3.18.9-031809.201503080036_amd64.deb
Install the kernel patch:
$ sudo dpkg -i linux-headers-3.18*.deb linux-image-3.18*.deb
After the kernel has been successfully installed, reboot:
$ sudo reboot
Optional, remove the kernel:
$ sudo apt-get remove linux-headers-3.18* linux-image-3.18*