You can use this link to download the mainline Linux kernel 5.4 package. Depending on your operating system type, in order to download and install the package:
- linux-headers-5.4.0-xxxxxx_all.deb
- linux-headers-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
- linux-modules-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
- linux-image-xxx-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
note:
generic support for common hardware systems, lowlatency for low-latency hardware systems, amd64 for 64-bit systems, armhf or arm64 version supports additional hardware.
Download and install
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2019-11-25/linux-headers-5.4.0-999_5.4.0-999.201911242102_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2019-11-25/linux-headers-5.4.0-999-generic_5.4.0-999.201911242102_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2019-11-25/linux-image-unsigned-5.4.0-999-generic_5.4.0-999.201911242102_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2019-11-25/linux-modules-5.4.0-999-generic_5.4.0-999.201911242102_amd64.deb
sudo dpkg -i *.deb
Restart
reboot