How to Install HWE Kernel on Ubuntu 20.04

For more information the HWE / LTS Enablement Stack please see: HWE / LTS Enablement

The Ubuntu LTS enablement (also called HWE or Hardware Enablement) stacks provide newer kernel and X support for existing Ubuntu LTS releases. These enablement stacks can be installed manually but are also available when installing with Ubuntu LTS point release media. These newer enablement stacks are meant for desktop and server and even recommended for cloud or virtual images.

To check the Kernel version.

uname -r

Output:

root@server1:~# uname -r
5.4.0-110-generic

Install the Hardware Enablement Stack (HWE)

Install the HWE by running the following command.

apt install --install-recommends linux-generic-hwe-20.04

Output:

root@server1:~# apt install --install-recommends linux-generic-hwe-20.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfwupdplugin1
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  linux-headers-5.13.0-41-generic linux-headers-generic-hwe-20.04 linux-hwe-5.13-headers-5.13.0-41 linux-image-5.13.0-41-generic
  linux-image-generic-hwe-20.04 linux-modules-5.13.0-41-generic linux-modules-extra-5.13.0-41-generic
Suggested packages:
  fdutils linux-doc | linux-hwe-5.13-source-5.13.0 linux-hwe-5.13-tools

Reboot your Ubuntu system and check for the loaded Kernel version.

uname -r

Output:

root@server1:~# uname -r
5.13.0-41-generic

CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS