Download and Install Linux Kernel 4.2 (.DEB). Terminal commands (CLI) to Install Linux Kernel 4.2 in Ubuntu 15.04, Ubuntu 14.04 and Derivatives.
Install Linux Kernel 4.2 on 32 Bit Ubuntu Systems
Run the following commands in Terminal to install Linux Kernel 4.2 on 32 bit Ubuntu and derivatives:
$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb
$ sudo dpkg -i linux-headers-4.2*.deb linux-image-4.2*.deb
Install Linux Kernel 4.2 on 64 Bit Ubuntu Systems
Run the following commands in Terminal to install Linux Kernel 4.2 on 64 bit Ubuntu and derivatives:
$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb
$ sudo dpkg -i linux-headers-4.2*.deb linux-image-4.2*.deb
If you wish to uninstall and remove the Linux Kernel 4.2 from Linux Ubuntu Systems, run the command given below:
$ sudo apt-get remove linux-header-4.2* linux-image-4.2*