Install kernels in Ubuntu from mainline

Use with caution. Although kernel updates or upgrades work well using the package manager in Ubuntu, there are times when you may need to try out the newer kernels although they are not available in the repository. To try out a kernel not in the repository, you can do the following steps:

  1. Visit and choose the version and download the files for your installation of Ubuntu
  2. linux-image for amd64/i386
  3. linux-headers *all
  4. linux-headers for amd64/i386
  5. Lastly, run the $ sudo dpkg -i command to install