
{"id":44109,"date":"2023-06-30T15:18:07","date_gmt":"2023-06-30T15:18:07","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44109"},"modified":"2023-06-30T15:18:07","modified_gmt":"2023-06-30T15:18:07","slug":"install-linux-kernel-6-4-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/06\/install-linux-kernel-6-4-ubuntu\/","title":{"rendered":"How to Install Linux Kernel 6.4 in Ubuntu 22.04 | 23.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>Linux Kernel 6.4 was released a few days ago. Ubuntu users can now install it from Kernel Mainline PPA.<\/p>\n<p>Linux Kernel 6.4 features initial Apple M2 processors support, Realtek rtl8710bu\/rtl8188gu, rtl8822bs, rtl8822cs and rtl8821cs WiFi hardware support, Turtle Beach and Qanba gaming controller support, and many Kye\/Genius drawing tablets, such as EasyPen M406 \/ M506 \/ M406W, EasyPen 340, MousePen 508WX \/ 508X, and PenSketch T609A.<\/p>\n<p>There are also tablet mode switching support for Lenovo Yoga notebooks, hardware sensor support for 100+ more ASUS desktop motherboards, Apple M1\/M2 keyboard backlight support, initial WiFi support for Apple M1 Pro and Apple M1 Max devices, and better MSI laptops support.<\/p>\n<h3>How to Install Kernel 6.4 in Ubuntu 22.04+\/Linux Mint 21<\/h3>\n<p><b>NOTE: The Mainline Kernel PPA is back with Kernel 6.4 packages. However, they are not appropriate for production use. Only install it for testing purpose or for specific drivers.<\/b><\/p>\n<p>The Mainline Kernel PPA has built the packages for Ubuntu and\u00a0 its based systems with modern 64-bit (amd64), arm64\/armhf mobile, ppc64el and s390x CPU architecture types support.<\/p>\n<p>1. User can select download the packages from the link page 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\/v6.4\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Kernel 6.4 (.deb)<\/a><\/div>\n<\/div>\n<p>For modern <strong>64-bit (x86_64)<\/strong> PC\/laptop, select download the amd64 build packages:<\/p>\n<ol>\n<li>linux-headers-6.4.0-060400-xxxxxx_all.deb<\/li>\n<li>linux-headers-6.4.0-060400-generic_xxx_amd64.deb<\/li>\n<li>linux-modules-6.4.0-060400-generic_xxx_amd64.deb<\/li>\n<li>linux-image-unsigned-6.4.0-060400-generic_xxx_amd64.deb<\/li>\n<\/ol>\n<p>2. After downloading them, right click on blank area in Downloads page and select &#8220;Open in Terminal&#8221;. Finally, install the kernel packages via command:<\/p>\n<pre>sudo apt install .\/linux*.deb<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44110\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb-600x325.webp\" alt=\"\" width=\"600\" height=\"325\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb-600x325.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb-300x162.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb-768x416.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb-1536x832.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb-1320x715.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/06\/apt-kernel64-deb.webp 1592w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>For other CPU architecture types (run <strong>uname -m<\/strong> to tell), select download and install the package between arm64\/armhf, ppc64el and s390x builds.<\/p>\n<p>For Ubuntu server, you can download and install the kernel packages by following commands:<\/p>\n<pre style=\"border: none;\">cd \/tmp\/\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v6.4\/amd64\/linux-headers-6.4.0-060400-generic_6.4.0-060400.202306271339_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v6.4\/amd64\/linux-headers-6.4.0-060400_6.4.0-060400.202306271339_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v6.4\/amd64\/linux-image-unsigned-6.4.0-060400-generic_6.4.0-060400.202306271339_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v6.4\/amd64\/linux-modules-6.4.0-060400-generic_6.4.0-060400.202306271339_amd64.deb\r\n\r\nsudo dpkg -i *.deb<\/pre>\n<p>Once installed, restart your computer and <b>verify by running <code>uname -a<\/code> command in terminal<\/b>!<\/p>\n<h3>Uninstall Linux Kernel 6.4:<\/h3>\n<p>Restart your machine, and select boot with the previous kernel in boot menu under \u2018Grub2 -&gt; Advanced Option for Ubuntu\u2019. Depends on your machine, you may have to press and hold &#8216;Shift&#8217; or &#8216;Esc&#8217; key while booting to show the Grub boot-menu.<\/p>\n<p>Then run command to remove Linux Kernel 6.4:<\/p>\n<pre style=\"border: none;\">sudo apt remove --autoremove linux-headers-6.4.0-060400 linux-modules-6.4.0-060400-generic<\/pre>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 6.4 was released a few days ago. Ubuntu users can now install it from Kernel Mainline PPA. Linux Kernel 6.4 features initial Apple M2 processors support, Realtek rtl8710bu\/rtl8188gu, rtl8822bs, rtl8822cs and rtl8821cs WiFi hardware support, Turtle Beach and Qanba gaming controller support, and many Kye\/Genius drawing tablets, such as EasyPen M406 \/ M506 [&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-44109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-kernel"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44109","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=44109"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44109\/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=44109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}