{"id":44254,"date":"2023-08-26T09:00:22","date_gmt":"2023-08-26T09:00:22","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44254"},"modified":"2026-03-16T07:03:20","modified_gmt":"2026-03-16T07:03:20","slug":"install-latest-kernel-new-repository","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/08\/install-latest-kernel-new-repository\/","title":{"rendered":"Install Linux Kernel (6.19 Updated) in Ubuntu 24.04, 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-35489\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>For those who want to install the latest Linux Kernel (6.19.x updated), there&#8217;s a new apt repository made for <del datetime=\"2025-09-07T06:48:57+00:00\">Ubuntu 20.04<\/del>, Ubuntu 22.04, Ubuntu 24.04 and Debian 12 Bookworm, Debian 13 Trixie.<\/b><\/p>\n<p>As you may know, Ubuntu has a <a href=\"https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/\" target=\"_blank\" rel=\"noopener\">mainline Kernel PPA<\/a> that keeps building the latest Linux Kernel packages for testing purpose. The most recent packages however do NOT support current Ubuntu 22.04 &amp; <del datetime=\"2025-09-07T06:48:57+00:00\">20.04 LTS<\/del> (though fixed now).<\/p>\n<p>For those who need the latest Kernel for new hardware support or compatibility fixes, there&#8217;s now a new repository with all current Ubuntu LTS (24.04 &amp; 22.04) and Debian Stable (Bookworm and Trixie) support.<\/p>\n<p>It&#8217;s maintained by <a href=\"https:\/\/wiki.ubuntu.com\/stgraber\" target=\"_blank\" rel=\"noopener\">St\u00e9phane Graber<\/a>, Ubuntu core developer and project leader of Linux containers(@lxc), who quit from Canonical last month, after working for the company for 12 years.<\/p>\n<p>And, he made this repository because Ubuntu\u2019s generic kernel that <a href=\"https:\/\/stgraber.org\/2023\/08\/24\/stable-linux-mainline-builds\/\" target=\"_blank\" rel=\"noopener\">he thought<\/a>\u00a0has sadly decreased in quality over time.<\/p>\n<blockquote><p>The Ubuntu kernel includes a lot of backported fixes and occasionally, those backports go bad, resulting in missing commits, introducing bugs and regressions. Unfortunately the way the Ubuntu kernel is built, tested and published comes with a lot of delays, making fixing such regressions often take weeks if not months<\/p><\/blockquote>\n<h3>Install Latest Kernel in Ubuntu via new Repository<\/h3>\n<p><b>NOTE 1: This is a trustworthy, but unofficial repository!<br \/>\nNOTE 2: Like Ubuntu Mainline Kernel PPA, the kernels are un-signed, you may need to turn off Secure Boot to boot the new kernel.<\/b><\/p>\n<p>First, open terminal either from start menu or &#8216;Activities&#8217; overview.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38555\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png\" alt=\"\" width=\"522\" height=\"299\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png 522w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy-300x172.png 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/a><\/p>\n<h4>1. Install the GPG Key<\/h4>\n<p>When terminal opens, first run command to create &#8216;\/etc\/apt\/keyrings&#8217; directory, in case it does not exist:<\/p>\n<pre>sudo mkdir -p \/etc\/apt\/keyrings<\/pre>\n<p>Then, run command to download the key and install to that directory you just created:<\/p>\n<pre>sudo wget -O - https:\/\/pkgs.zabbly.com\/key.asc |sudo tee \/etc\/apt\/keyrings\/zabbly.asc<\/pre>\n<p><i>Re-run the command to update the key if expired.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/download-zabbly-keyring.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44255\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/download-zabbly-keyring-600x385.webp\" alt=\"\" width=\"600\" height=\"385\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/download-zabbly-keyring-600x385.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/download-zabbly-keyring-300x193.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/download-zabbly-keyring-768x493.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/download-zabbly-keyring.webp 858w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>2. Set up the source repository<\/h4>\n<p>Then, run command below to create &amp; edit the source file:<\/p>\n<pre>sudo gnome-text-editor \/etc\/apt\/sources.list.d\/zabbly-kernel-stable.sources<\/pre>\n<p><i>Depends on your desktop environment, replace <code>gnome-text-editor<\/code> with <code>gedit<\/code> for Ubuntu 22.04 and earlier, <code>mousepad<\/code> for XFCE, or use <code>nano<\/code> that works in most desktops<\/i>.<\/p>\n<p>When terminal opens, add following lines and save it:<\/p>\n<pre><code>Enabled: yes\r\nTypes: deb deb-src\r\nURIs: https:\/\/pkgs.zabbly.com\/kernel\/stable\r\nSuites: noble\r\nComponents: main\r\nArchitectures: amd64\r\nSigned-By: \/etc\/apt\/keyrings\/zabbly.asc<\/code><\/pre>\n<p>NOTE: You have to replace <b>noble<\/b> (for 24.04, Linux Mint 22) in the code with<\/p>\n<ul>\n<li><b>jammy<\/b> for Ubuntu 22.04, Linux Mint 21.<\/li>\n<li><b>trixie<\/b> for Debian 13<\/li>\n<li>or <b>bookworm<\/b> for Debian 12.<\/li>\n<\/ul>\n<p>Also, replace <b>amd64<\/b> with <b>arm64<\/b> for ARM devices, such as Raspberry Pi. For nano text editor, press Ctrl+S to save, then Ctrl+X to exit.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/zabbly-repo-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48788\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/zabbly-repo-noble-700x355.webp\" alt=\"\" width=\"610\" height=\"309\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/zabbly-repo-noble-700x355.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/zabbly-repo-noble-300x152.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/zabbly-repo-noble-768x389.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/zabbly-repo-noble.webp 892w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h4>3. Update package cache &amp; Install Newest Kernel<\/h4>\n<p>When done setting up the new source repository and GPG key, run the command below to re-index system package cache:<\/p>\n<pre>sudo apt update<\/pre>\n<p>Finally, install the latest kernel, 6.19.x so far, by running command:<\/p>\n<pre>sudo apt install linux-zabbly<\/pre>\n<p><i>Tips: If the last command does not work, then try the command below to specify Kernel version, which also works for Kernel 6.18, 6.17, 6.16, etc releases.<\/i><\/p>\n<pre>sudo apt install linux-headers-6.19.6-zabbly+ linux-image-6.19.6-zabbly+<\/pre>\n<p><i>The minor version number varies as time goes on. Type the first half of the last command (<code>sudo apt install linux-headers-6.19<\/code>) and hit Tab to list all available choices.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50763\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/apt-zabbly619-700x508.webp\" alt=\"\" width=\"610\" height=\"443\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/apt-zabbly619-700x508.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/apt-zabbly619-300x218.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/apt-zabbly619-768x558.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/apt-zabbly619.webp 866w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h4>4. Verify<\/h4>\n<p>Finally, restart your machine and run the command below to verify your Kernel version in terminal:<\/p>\n<pre>uname -a<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50762\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/about-k619-700x508.webp\" alt=\"\" width=\"610\" height=\"443\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/about-k619-700x508.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/about-k619-300x218.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/about-k619-768x558.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/08\/about-k619.webp 866w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h3>Uninstall:<\/h3>\n<p>If you have any issue with the new Kernel, just restart and select <b>boot an old Kernel<\/b> from Grub menu under &#8216;Advanced Options&#8217;.<\/p>\n<p>Then, run the command below to remove the Kernel from Zabbly repository:<\/p>\n<pre>sudo apt remove --autoremove linux*zabbly*<\/pre>\n<p><i>Depends on when you tried this tutorial, the package version varies. So, I use asterisk wildcard in command to auto-select any package start with &#8216;<code>linux<\/code>&#8216; and have &#8216;<code>zabbly<\/code>&#8216; in between of package name. Just in case, it&#8217;s better to keep an eye on terminal output before hitting &#8216;y&#8217; to confirm.<\/i><\/p>\n<p>Also, remove the source repository by running commands below to delete the key and source file:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/zabbly-kernel-stable.sources<\/pre>\n<pre>sudo rm \/etc\/apt\/keyrings\/zabbly.asc<\/pre>\n<p>Finally, run <code>sudo apt update<\/code> to refresh system package index.<\/p>","protected":false},"excerpt":{"rendered":"<p>For those who want to install the latest Linux Kernel (6.19.x updated), there&#8217;s a new apt repository made for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Debian 12 Bookworm, Debian 13 Trixie. As you may know, Ubuntu has a mainline Kernel PPA that keeps building the latest Linux Kernel packages for testing purpose. The most [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35489,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[160],"class_list":["post-44254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=44254"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/35489"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}