{"id":36787,"date":"2022-01-14T15:02:19","date_gmt":"2022-01-14T15:02:19","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=36787"},"modified":"2022-01-14T15:04:00","modified_gmt":"2022-01-14T15:04:00","slug":"install-linux-kernel-516-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/01\/install-linux-kernel-516-ubuntu\/","title":{"rendered":"How to Install Linux Kernel 5.16 in Ubuntu 20.04 &#038; 21.10"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/tux-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-35489\" 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>Linux Kernel 5.16 was released a few days ago. Here&#8217;s how to install it in Ubuntu 20.04, Ubuntu 21.10, and\/or Linux Mint 20.x.<\/p>\n<p><a href=\"https:\/\/lkml.org\/lkml\/2022\/1\/9\/294\" rel=\"noopener\" target=\"_blank\">Kernel 5.16<\/a> comes with many new features. Here are some of them:<\/p>\n<ul>\n<li>Initial DisplayPort 2.0 Support For AMD Radeon Driver.<\/li>\n<li>Intel Protected Xe Path for Gen12 graphics.<\/li>\n<li>Intel AMX support for Sapphire Rapids.<\/li>\n<li>Raspberry Pi Compute Module 4 support.<\/li>\n<li>Snapdragon 690 and other new Arm hardware support such as Rockchip RK3566 and RK3688.<\/li>\n<li>Better support for the Sony PlayStation 5 controller.<\/li>\n<li>Better support for HP Omen laptops.<\/li>\n<li>Realtek RT89 WiFi driver<\/li>\n<li>Support for 2021 Apple Magic Keyboard.<\/li>\n<li> Apple M1 PCIe driver <\/li>\n<\/ul>\n<h3>How to Install Kernel 5.16 in Ubuntu 21.10:<\/h3>\n<p><b>NOTE: The Mainline Kernel PPA provides packages for Ubuntu 21.10. However, it does not include any Ubuntu-provided drivers or patches, which are NOT appropriate for production use.<\/b><\/p>\n<p>The .deb packages for amd64, arm64, ppc64el and s390x are available to download at 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\/~kernel-ppa\/mainline\/v5.16\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Kernel 5.16<\/a><\/div>\n<\/div>\n<p>For personal computers, select <code>generic<\/code> for common system, or <code>lowlatency<\/code> for a low latency system (e.g. for recording audio):<\/p>\n<ul>\n<li>linux-headers-5.16.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-5.16.0-xxx-generic(\/lowlatency)_xxx_amd64.deb<\/li>\n<li>linux-modules-5.16.0-xxx-generic(\/lowlatency)_xxx_amd64.deb<\/li>\n<li>linux-image-xxx-5.16.0-xxx-generic(\/lowlatency)_xxx_amd64.deb<\/li>\n<\/ul>\n<p>Keep an eye on the date in package names. 64-bit build has two versions of same package with different package date.<\/p>\n<p>For those familiar with Linux command, open terminal and run commands one by one to download &#038; install the packages:<\/p>\n<pre>cd \/tmp\/\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.16\/amd64\/linux-headers-5.16.0-051600_5.16.0-051600.202201092355_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.16\/amd64\/linux-headers-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.16\/amd64\/linux-image-unsigned-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.16\/amd64\/linux-modules-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb\r\n\r\nsudo dpkg -i *.deb<\/pre>\n<p>Once installed, restart your computer and enjoy!<\/p>\n<h3>Uninstall Linux Kernel 5.16:<\/h3>\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.16:<\/p>\n<pre>sudo dpkg --purge linux-image-unsigned-5.16.0-051600-generic<\/pre>\n<h3>Install Kernel 5.16 for Ubuntu 20.04:<\/h3>\n<p>The mainline kernel was build against Ubuntu 21.10, so it won&#8217;t install in Ubuntu 20.04 LTS. However, for those insist on installing the new kernel, <a href=\"https:\/\/github.com\/TuxInvader\/focal-mainline-builder\" rel=\"noopener\" target=\"_blank\">this project<\/a> is available along with an <a href=\"https:\/\/launchpad.net\/~tuxinvader\/+archive\/ubuntu\/lts-mainline\/\" rel=\"noopener\" target=\"_blank\">Ubuntu PPA<\/a>. <b>Use it at your own risk!<\/b><\/p>\n<p>You may run command in terminal to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:tuxinvader\/lts-mainline<\/pre>\n<p>Once the Kernel 5.16 package is updated, use command to install it:<\/p>\n<pre>sudo apt install linux-generic-5.16<\/pre>\n<p>NOTE: Linux Kernel keeps rolling new releases regularly. The PPA package name varies according to the version number. It&#8217;s better to check the PPA page before running the apt command.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 5.16 was released a few days ago. Here&#8217;s how to install it in Ubuntu 20.04, Ubuntu 21.10, and\/or Linux Mint 20.x. Kernel 5.16 comes with many new features. Here are some of them: Initial DisplayPort 2.0 Support For AMD Radeon Driver. Intel Protected Xe Path for Gen12 graphics. Intel AMX support for Sapphire [&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-36787","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\/36787","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=36787"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/36787\/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=36787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=36787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=36787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}