Useful Snippets


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at

RSS Latest posts from my personal blog

Most viewed posts

Subscribe to RSS feed

Update to the latest available Linux kernel on Ubuntu 22.04 / 22.10

Stanislav KhromovStanislav Khromov

Thanks to the mainline utility you can install the very latest mainline Linux kernel on Ubuntu 22.04 and 22.10.

sudo su
add-apt-repository ppa:cappelikan/ppa -y
apt update
apt install mainline -y
mainline --check
mainline --install-latest

You will now see the mainline installer:

root@k:/home/k# mainline --install-latest
mainline 1.1.7
Distribution: Ubuntu 22.10
Architecture: amd64
Running kernel: 6.2.2-060202-generic
Updating from: ''
Found installed :
Latest point update: 6.2.6

Install Kernel Version 6.2.6 ? (y/n):

Just press “y” then “enter”, reboot and enjoy your new kernel!

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
Twitter Profile
Visit my other blog

Comments 0
There are currently no comments.