{"id":8466,"date":"2018-12-25T12:23:26","date_gmt":"2018-12-25T12:23:26","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8466"},"modified":"2018-12-25T12:23:26","modified_gmt":"2018-12-25T12:23:26","slug":"install-linux-kernel-4-20-ubuntu-linux-mint","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/12\/install-linux-kernel-4-20-ubuntu-linux-mint\/","title":{"rendered":"How to Install Linux Kernel 4.20 in Ubuntu \/ Linux Mint"},"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=\"aligncenter size-full wp-image-5727\" \/><\/p>\n<p>Linux Kernel 4.20 was released a few days ago. Linus Torvalds <a href=\"https:\/\/lkml.org\/lkml\/2018\/12\/23\/187\" rel=\"noopener\" target=\"_blank\">announced<\/a>:<\/p>\n<blockquote><p><i>Let&#8217;s face it, last week wasn&#8217;t quite as quiet as I would have hoped for, but there really doesn&#8217;t seem to be any point to delay 4.20 because everybody is already taking a break.<\/p>\n<p>And it&#8217;s not like there are any known issues, it&#8217;s just that the shortlog below is a bit longer than I would have wished for. Nothing screams &#8220;oh, that&#8217;s scary&#8221;, though.<\/p>\n<p>And as part of the &#8220;everybody is already taking a break&#8221;, I can happily report that I already have quite a few early pull requests in my inbox. I encouraged people to get it over and done with, so that people can just relax over the year-end holidays.  In fact, I probably won&#8217;t start pulling for a couple of days, but otherwise let&#8217;s just try to keep to the normal merge window schedule, even if most people hopefully won&#8217;t even be back until over the merge window is over.<\/p>\n<p>As to the details of this last week of 4.20 &#8211; most of it is networking (drivers, core networking fixes, bpf). There&#8217;s a few other non-network driver updates too, and a revert series of some of the x86 inline asm changes that were obviated by upcoming compiler support.<\/p>\n<p>&#8230; &#8230;<\/i><\/p><\/blockquote>\n<p>Changes in Linux 4.20 include:<\/p>\n<ul>\n<li>AMD Picasso APU support as well as Raven 2 APU support<\/li>\n<li>Intel DRM driver has full PPGTT support for Haswell\/Ivy\/Valley View hardware.<\/li>\n<li>The open-source NVIDIA Nouveau driver has initial HDMI 2.0 support.<\/li>\n<li>The NVIDIA Xavier &#8220;Tegra194&#8221; SoC has initial display support.<\/li>\n<li>Support for the Hygon Dhyana CPUs<\/li>\n<li>Intel 2.5G Ethernet support via the new &#8220;IGC&#8221; driver.<\/li>\n<li>LG Gram laptop support<\/li>\n<li>File systems improvements, drivers updates, and many other changes.<\/li>\n<\/ul>\n<h4>How to Install Linux Kernel 4.20 in Ubuntu:<\/h4>\n<p>For easy way, there are a few third party tools, e.g., <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2018\/08\/uktool-tool-to-install-latest-kernels-ubuntu\/\" rel=\"noopener\" target=\"_blank\">UKTools<\/a> and <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2017\/02\/ukuu-install-latest-kernels-ubuntu-linux-mint\/\" rel=\"noopener\" target=\"_blank\">Ukuu<\/a>, make it easy to install the latest Kernel in Ubuntu.<\/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 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>You can also manually download the <b>.deb<\/b> binary packages:<\/p>\n<p style=\"text-align:center;\"><a href='https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/' class='arconix-button-flat arconix-button-large arconix-button-tan' target=\"_blank\" >Download Kernel 4.20<\/a><\/p>\n<p>Depends on your OS type, download and install the packages in turns:<\/p>\n<ol>\n<li>linux-headers-4.20.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-4.20.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-modules-4.20.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-image-xxx-4.20.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<\/ol>\n<p><i>Select <code>generic<\/code> for common system, and <code>lowlatency<\/code> for a low latency system (e.g. for recording audio), <code>amd64<\/code> for 64bit system, <code>i386<\/code> for 32bit system, or armhf, arm64, etc for other OS types.<\/i><\/p>\n<p>Also you can download and install the kernel binaries via terminal commands (Ctrl+Alt+T):<\/p>\n<p>For 64-bit OS:<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-headers-4.20.0-042000_4.20.0-042000.201812232030_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-headers-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-image-unsigned-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-modules-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb\r\n\r\nsudo dpkg -i *.deb<\/pre>\n<p>for 32-bit OS:<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-headers-4.20.0-042000_4.20.0-042000.201812232030_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-headers-4.20.0-042000-generic_4.20.0-042000.201812232030_i386.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-image-4.20.0-042000-generic_4.20.0-042000.201812232030_i386.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.20\/linux-modules-4.20.0-042000-generic_4.20.0-042000.201812232030_i386.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 4.20:<\/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 4.20.0:<\/p>\n<pre style=\"border:none;\">sudo dpkg --purge linux-image-4.20.0-042000-generic linux-image-unsigned-4.20.0-042000-generic<\/pre>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 4.20 was released a few days ago. Linus Torvalds announced: Let&#8217;s face it, last week wasn&#8217;t quite as quiet as I would have hoped for, but there really doesn&#8217;t seem to be any point to delay 4.20 because everybody is already taking a break. And it&#8217;s not like there are any known issues, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[160,14],"class_list":["post-8466","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-kernel","tag-linux-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8466","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=8466"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8466\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}