How to Install Linux Kernel 4.16
Linux Kernel 4.16 includes VirtualBox Guest drivers for better VirtualBox performance out-of-the-box, file-system improvements, espcially to XFS, better multoi-display support on AMD GPUs, and ongoing Spectre/Meltdown mitigation.
Warning: Outdated for Ubuntu 18.10 or newer.
Ubuntu 18.10 already includes 4.18, which is newer than the version this script provides. Kernel downgrades may result in unbootable systems.
This script will attempt to install Linux Kernel 4.16 on this machine. Typically, your current version will be kept, and you will be able to utilize it again later if Linux Kernel 4.16 does not work. However, it is possible, if unlikely, that this script will render your system inoperable on with certain software installed, or with certain hardware configurations. How to Ubuntu does not offer any guarantees whatsoever, but it worked for us. Use with care (especially around UEFI).
Also, note that your system will be running a package that it is unlikely to receive updates for, and that you will have to manually check for subsequent versions on How to Ubuntu.
Finally, it should be noted that this script will automatically determine your system architecture, choosing the i386 packages for a 32bit system and amd64 packages for a 64bit system. ARM-type processors are not supported.