In this video, I show you how how to upgrade the Linux kernel on Ubuntu.
This process is to be used in one circumstance (and one circumstance only), and that is if you are having a problem with a piece of hardware on Ubuntu, or a Ubuntu-based distro, and you think that a kernel upgrade might fix it. If you want to use a mainline (stock) Linux kernel for any other reason, then don't, just don't, because mainline Linux kernels aren't as well tested and tend to be less stable than generic (officially offered with your Linux distribution) kernels.
*This process only works on Ubuntu, and Ubuntu-based distros.
Commands to install ubuntu-mainline-kernel.sh:
wget github.com/pimlie/ubuntu-mainline-kernel.sh
chmod +x ubuntu-mainline-kernel.sh
sudo mv ubuntu-mainline-kernel.sh /usr/local/bin/
Commands to use ubuntu-mainline-kernel.sh:
Get a list of available Linux kernel versions: ubuntu-mainline-kernel.sh -r
Install the specified Linux kernel version (or the latest Linux kernel version if no version is specified): sudo ubuntu-mainline-kernel.sh -i [version number (optional)] (example: sudo ubuntu-mainline-kernel.sh -i 4.9)
Remove a Linux kernel version: sudo ubuntu-mainline-kernel.sh -u
Command to remove ubuntu-mainline-kernel.sh:
sudo rm /usr/local/bin/ubuntu-mainline-kernel.sh