Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to update Linux kernel in Ubuntu

📅 2017-Feb-04 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ kernel, ubuntu ⬩ 📚 Archive

Every version of Ubuntu LTS sticks to a particular version of the Linux kernel. For example, Ubuntu 16.04 sticks to the 4.4.x series of kernels. Over the months and years you use and update this version of Ubuntu, only newer minor versions of the kernel are updated to maintain stability.

However, there might be reasons you might want to upgrade to a major new Linux kernel version. For example, to get support for newer hardware and firmware. The first option you can try is to install the latest HWE stack for your LTS release, as described here. That should upgrade your Linux kernel and X to recent versions. If a HWE stack is not available or the versions it provides is not recent enough for you, then Ubuntu developers maintain a series of the Linux mainline kernel which can be downloaded and installed.

$ sudo dpkg -i *.deb
$ uname -r

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧