$ uname -r
- download mainline Linux kernel from Ubuntu
- select a version and architecture, check the
status
file - download *.deb files
VERSION=5.4.82-050482
DATETIME=202012080534
ARCH=amd64
linux-headers-${VERSION}_${VERSION}.${DATETIME}_all.deb
linux-headers-${VERSION}-generic_${VERSION}.${DATETIME}_${ARCH}.deb
linux-image-unsigned-${VERSION}-generic_${VERSION}.${DATETIME}_${ARCH}.deb
linux-modules-${VERSION}-generic_${VERSION}.${DATETIME}_${ARCH}.deb
$ sudo dpkg -i *.deb
$ sudo reboot
Install Linux Headers