How to Install Linux Kernel 4.16 on Ubuntu 17.10 and Ubuntu 16.04 LTS

Linux kernel 4.16 brings numerous updated drivers and a bunch of other general performance improvements, but it doesn’t mean you have to upgrade to this version, especially if everything works smoothly for you. This tutorial is addressed to all those who need better hardware support or want to be bleeding-edge.??Before going into detailed installation instructions, we have to warn you that some things might break after installing this new kernel, such as your VirtualBox kernel modules, or other kernel modules that don’t support Linux 4.16, as well as any proprietary drivers (AMD, Nvidia, Broadcom, etc.) you might have installed.