This installation guide describes how to install Linux Kernel 5.4.0 on Ubuntu Linux. This works with the latest version of Ubuntu Linux and most Ubuntu-based distributions including Kubuntu and Mint.
The included kernel files have been compiled using the generic Ubuntu configuration. A low latency version is also available in the directory of the linked files.
This post is an update of “Ubuntu Linux kernel 5.3 installation guide“
Which version do you need? The same as the current installed OS
In the terminal run:
uname -a
Quick selection guide:
- AMD64
Most current computers - i386
build failed - ARM HF: ARMv7 CPUs
- ARM 64: ARMv8 CPUs
- PPC64EL: IBM PowerPC 8 based systems
- S390X: IBM zSystems
The files can be found at kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/
- Download the kernel headers package:
linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb - And the appropriate headers package for your system (choose yours)
- AMD64:
linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb - ARMHF:
linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_armhf.deb - ARM64:
linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_arm64.deb - PPC64EL:
linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_ppc64el.deb - S390X:
linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_s390x.deb
- AMD64:
- and the kernel image (choose yours)
- ARMHF:
linux-image-5.4.0-050400-generic_5.4.0-050400.201911242031_armhf.deb - ARM64:
linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_arm64.deb - PPC64EL:
linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_ppc64el.deb - S390X:
linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_s390x.deb
- ARMHF:
- And the kernel modules (choose yours)
- AMD64:
linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb - ARMHF:
linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_armhf.deb - ARM64:
linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_arm64.deb - PPC64EL:
linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_ppc64el.deb - S390X:
linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_s390x.deb
- AMD64:
- Install the files in the same order as downloaded above
- In the terminal run:
sudo update-grub
- Reboot and select the kernel from the bootloader menu