{"id":50108,"date":"2025-12-01T15:14:09","date_gmt":"2025-12-01T15:14:09","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=50108"},"modified":"2025-12-01T15:14:09","modified_gmt":"2025-12-01T15:14:09","slug":"linux-kernel-6-18-released-how-to-install-it-in-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/12\/linux-kernel-6-18-released-how-to-install-it-in-ubuntu\/","title":{"rendered":"Linux Kernel 6.18 Released! How to Install it in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-46898\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/tux-linux-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/tux-linux-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/tux-linux-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/tux-linux-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/tux-linux-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/07\/tux-linux-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Linux Kernel 6.18 was released yesterday! According to the version history, it will be probably the next Long Term Support (LTS) kernel release.<\/p>\n<p>Linus Torvalds announced this kernel release on this <a href=\"https:\/\/lkml.org\/lkml\/2025\/11\/30\/341\" target=\"_blank\" rel=\"noopener\">lkml.org page<\/a>:<\/p>\n<blockquote><p>So I&#8217;ll have to admit that I&#8217;d have been happier with slightly less bugfixing noise in this last week of the release, but while there&#8217;s a few more fixes than I would hope for, there was nothing that made me feel like this needs more time to cook. So 6.18 is tagged and pushed out.<\/p>\n<p>&#8230;<\/p><\/blockquote>\n<p><!--more--><\/p>\n<h3>What&#8217;s New in Linux Kernel 6.18<\/h3>\n<p>On CPU side, the new kernel updated Intel Trust Domain Extensions (TDX) to work with Kexec for being able to load and boot into a new kernel from another currently running kernel. It updated FRED with patch for the late breaking incompatible change. And, it added a workaround for Xeon 6 to avoid performance issue.<\/p>\n<p>For AMD, it updated Error Detection And Correction &#8220;EDAC&#8221; driver with next Zen 6 &#8220;Venice&#8221; server processors support. And, added patch for the old Bulldozer processors with X86_NATIVE_CPU option support for maximizing performance.<\/p>\n<div id=\"attachment_50109\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50109\" class=\"size-large wp-image-50109\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/amdfx4300-700x525.webp\" alt=\"\" width=\"610\" height=\"458\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/amdfx4300-700x525.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/amdfx4300-300x225.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/amdfx4300-768x576.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/amdfx4300.webp 1280w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-50109\" class=\"wp-caption-text\">Image by Marcello Rabozzi from Pixabay<\/p><\/div>\n<p>The Kernel also added support for Sheaves, a new opt-in, per-CPU and array-based caching layer, updated IOMMU driver with ACPI and MIPS vendor extensions support for RISC-V, and introduced Loongson Security Engine support for handling offloaded RNG, TPM2, and various crypto acceleration on LoongArch processors.<\/p>\n<p>It as well added patch to reliably handle 255+ vCores on AMD EPYC servers, enabled Wildcat Lake graphics support, introduced new Rocket accelerator driver for the NPU found on newer Rockchip SoCs, and added Google&#8217;s PSP encryption for TCP connections.<\/p>\n<p>The Bcachefs code is removed from Kernel 6.18, users should now use DKMS kernel modules instead. And, exFAT file-system driver has been optimized leads to 16.5x speedup for loading time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-49444\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/thinkpad-lapop.webp\" alt=\"\" width=\"640\" height=\"427\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/thinkpad-lapop.webp 640w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/thinkpad-lapop-300x200.webp 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>The new Kernel also added many new hardware support. They include:<\/p>\n<ul>\n<li>Haptic touchpad support.<\/li>\n<li>New sensor driver for GPD handheld gaming devices.<\/li>\n<li>Awinic AW86927 haptic driver for Fairphone 5 smartphone.<\/li>\n<li>Hynitron CST816x touchscreen control.<\/li>\n<li>New EC driver for Lenovo ThinkPad T14s Gen6 With Snapdragon X Elite SoC.<\/li>\n<li>AI button and Fn keys support for on Xiaomi Redmibook laptops.<\/li>\n<li>Red and green status LEDs support on QNAP NAS devices.<\/li>\n<li>Sensor monitoring support for Dell OptiPlex 7040, ROG STRIX X670E-E, X870-I\/X870E-E GAMING WIFI, etc motherboards.<\/li>\n<li>Apple M2 Pro, M2 Max, and M2 Ultra.<\/li>\n<li>Qualcomm Snapdragon X1 laptops of the Dell Thena, HP OmniBook X14, Dell Inspiron 14 Plus, Dell Latitude 7455, HP Omnibook X14, and Lenovo ThinkBook T16.<\/li>\n<\/ul>\n<p>For more about Linux Kernel 6.18, see either <a href=\"https:\/\/kernelnewbies.org\/Linux_6.18\" target=\"_blank\" rel=\"noopener\">kernelnewbies.org<\/a> or <a href=\"https:\/\/www.phoronix.com\/review\/linux-618-features\" target=\"_blank\" rel=\"noopener\">phoronix.com<\/a> pages.<\/p>\n<h3>How to Install Kernel 6.18 in Ubuntu 24.04+<\/h3>\n<p>The Mainline Kernel PPA has built the new kernel as .deb packages, which are available to download through the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/kernel.ubuntu.com\/mainline\/v6.18\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Kernel 6.18 (.deb)<\/a><\/div>\n<\/div>\n<p>Depends on your CPU architecture type (run <code>uname -a<\/code> or <code>dpkg --print-architecture<\/code> command to tell), select download either <code>amd64<\/code> for Intel\/AMD, <code>armhf<\/code>\/<code>arm64<\/code> for 32-bit\/64-bit ARM, or <code>ppc64el<\/code> for IBM POWER, <code>s390x<\/code> for IBMz or LinuxONE.<\/p>\n<p><b>NOTE: the Mainline Kernel packages are NOT signed! You need to disable secure-boot to boot the kernel. And it may be not work properly with NVIDIA proprietary driver.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/k618-download.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50111\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/k618-download-700x521.webp\" alt=\"\" width=\"610\" height=\"454\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/k618-download-700x521.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/k618-download-300x223.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/k618-download-768x571.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/k618-download.webp 1163w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For Intel\/AMD platform, you may open terminal or connect to the server console, then run the commands below one by one to download &amp; install the Kernel:<\/p>\n<pre>cd \/tmp\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/mainline\/v6.18\/amd64\/linux-headers-6.18.0-061800-generic_6.18.0-061800.202511302339_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/mainline\/v6.18\/amd64\/linux-headers-6.18.0-061800_6.18.0-061800.202511302339_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/mainline\/v6.18\/amd64\/linux-image-unsigned-6.18.0-061800-generic_6.18.0-061800.202511302339_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/mainline\/v6.18\/amd64\/linux-modules-6.18.0-061800-generic_6.18.0-061800.202511302339_amd64.deb\r\n\r\nsudo apt install .\/linux*-6.18.0*.deb<\/pre>\n<p>After installed the packages, restart your computer or server and run <code>uname -a<\/code> to verify.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50112\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/uname-k618-700x489.webp\" alt=\"\" width=\"610\" height=\"426\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/uname-k618-700x489.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/uname-k618-300x209.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/uname-k618.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h3>Uninstall Kernel 6.18<\/h3>\n<p>For any reason, you may remove this Kernel by firstly rebooting into the old Kernel (usually under Grub -&gt; Advanced options of Ubuntu)., then run command:<\/p>\n<pre>sudo apt remove --autoremove linux-headers-6.18.0* linux-modules-6.18.0-*-generic<\/pre>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 6.18 was released yesterday! According to the version history, it will be probably the next Long Term Support (LTS) kernel release. Linus Torvalds announced this kernel release on this lkml.org page: So I&#8217;ll have to admit that I&#8217;d have been happier with slightly less bugfixing noise in this last week of the release, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":46898,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[160],"class_list":["post-50108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50108","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=50108"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50108\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/46898"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=50108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=50108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=50108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}