
{"id":33647,"date":"2021-04-26T15:49:03","date_gmt":"2021-04-26T15:49:03","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33647"},"modified":"2021-04-26T15:49:03","modified_gmt":"2021-04-26T15:49:03","slug":"linux-kernel-5-12-released","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/04\/linux-kernel-5-12-released\/","title":{"rendered":"Linux Kernel 5.12 Released! How to Install it in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/kernel-icon-tux.png\" alt=\"Linux Kernel\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-5727\" \/><\/p>\n<p>Linus Torvalds announced the release of Linux Kernel 5.12 last night. He wrote on <a href=\"https:\/\/lkml.org\/lkml\/2021\/4\/25\/225\" rel=\"noopener\" target=\"_blank\">lkml<\/a>:<\/p>\n<blockquote><p><i>Thanks to everybody who made last week very calm indeed, which just makes me feel much happier about the final 5.12 release.<\/i><\/p><\/blockquote>\n<p>New Features in Kernel 5.12 include:<\/p>\n<ul>\n<li>Intel VRR \/ Adaptive-Sync for Intel Xe.<\/li>\n<li>Radeon RX 6800\/6900 series OverDrive overclocking support.<\/li>\n<li>Mainline support for the Nintendo 64<\/li>\n<li>Sony PlayStation 5 DualSense controller driver.<\/li>\n<li>CXL 2.0 Type-3 memory device support<\/li>\n<li>Lenovo Laptop Platform Profile support.<\/li>\n<li>Better Microsoft Surface device support.<\/li>\n<li>And much more.<\/li>\n<\/ul>\n<h3>How to Install Linux Kernel 5.12:<\/h3>\n<p>The Ubuntu Mainline Kernel Archive provides the new kernel packages via DEB files.<\/p>\n<div class=\"arconix-box arconix-box-red\"><i class='fa fa-2x pull-left fa-exclamation-triangle'><\/i><div class=\"arconix-box-content\">The <a href=\"https:\/\/wiki.ubuntu.com\/Kernel\/MainlineBuilds\" rel=\"noopener\" target=\"_blank\">mainline build kernels<\/a> do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.<\/div><\/div>\n<p>For those prefer using a graphical tool, see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2020\/08\/mainline-install-latest-kernel-ubuntu-linux-mint\/\" rel=\"noopener\" target=\"_blank\">this tool<\/a> to install the latest Kernel.<\/p>\n<p>To manually download the mainline kernel packages for Linux 5.12, go to the link button:<\/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\/~kernel-ppa\/mainline\/v5.12\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Kernel 5.12 (DEB)<\/a><\/div>\n<\/div>\n<p>Select <code>generic<\/code> for common system, and <code>lowlatency<\/code> for a low latency system (e.g. for recording audio):<\/p>\n<ol>\n<li>linux-headers-5.12.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-5.12.0-xxx-generic(\/lowlatency)_xxx_amd64.deb<\/li>\n<li>linux-modules-5.12.0-xxx-generic(\/lowlatency)_xxx_amd64.deb<\/li>\n<li>linux-image-xxx-5.12.0-xxx-generic(\/lowlatency)_xxx_amd64.deb<\/li>\n<\/ol>\n<p>Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via <b>Ctrl+Alt+T<\/b>):<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.12\/amd64\/linux-headers-5.12.0-051200_5.12.0-051200.202104252130_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.12\/amd64\/linux-headers-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.12\/amd64\/linux-image-unsigned-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.12\/amd64\/linux-modules-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb\r\n\r\nsudo dpkg -i *.deb<\/pre>\n<p>Once installed, restart your computer and enjoy!<\/p>\n<p><b>Uninstall Linux Kernel 5.12:<\/b><\/p>\n<p>Restart your machine and select boot with the previous kernel in boot menu \u2018Grub2 -> Advanced Option for Ubuntu\u2019. Then run command to remove Linux Kernel 5.12:<\/p>\n<pre style=\"border:none;\">sudo dpkg --purge linux-image-unsigned-5.12.0-051200-generic<\/pre>","protected":false},"excerpt":{"rendered":"<p>Linus Torvalds announced the release of Linux Kernel 5.12 last night. He wrote on lkml: Thanks to everybody who made last week very calm indeed, which just makes me feel much happier about the final 5.12 release. New Features in Kernel 5.12 include: Intel VRR \/ Adaptive-Sync for Intel Xe. Radeon RX 6800\/6900 series OverDrive [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[160],"class_list":["post-33647","post","type-post","status-publish","format-standard","hentry","category-news","tag-kernel"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33647","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=33647"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33647\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}