Yes, I wrote a tutorial here:
UPDATE:
As of 20 Aug '23, I have tested this method and found that although the kernel packages appear to install just fine, the Software Updater soon alerted me that I had broken packages. Checking, the latest kernel I tested (6.4.11) had dependency issues due to the later kernels requiring libc6 > 2.35
I recommend using the TuxInvader Mainline kernel for any users that run into this issue.
sudo add-apt-repository ppa:tuxinvader/lts-mainline
sudo apt update
Look at the available packag…
Or, if 5.18 is not specifically needed, as long as you can use a kernel higher than 5.18, you can install the TuxInvader Mainline LTS Kernel which is currently on 6.1
sudo add-apt-repository ppa:tuxinvader/lts-mainline
sudo apt update && sudo apt install linux-generic-6.1.12 -y
1 Like