{"id":7632,"date":"2018-04-02T15:30:08","date_gmt":"2018-04-02T15:30:08","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=7632"},"modified":"2018-04-02T15:30:08","modified_gmt":"2018-04-02T15:30:08","slug":"install-kernel-4-16-ubuntu-linux-mint","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/04\/install-kernel-4-16-ubuntu-linux-mint\/","title":{"rendered":"How to Install Kernel 4.16 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.16 was released yesterday. Linus Torvalds announced in <a href=\"https:\/\/lkml.org\/lkml\/2018\/4\/1\/175\" target=\"_blank\">lkml.org<\/a>:<\/p>\n<blockquote><p><i>So the take from final week of the 4.16 release looks a lot like rc7, in that about half of it is networking. If it wasn&#8217;t for that, it would all be very small and calm.<\/p>\n<p>We had a number of fixes and cleanups elsewhere, but none of it made me go &#8220;uhhuh, better let this soak for another week&#8221;. And davem didn&#8217;t think the networking was a reason to delay the release, so I&#8217;m  not.<\/p>\n<p>End result: 4.16 is out, and the merge window for 4.17 is open and I&#8217;ll start doing pull requests tomorrow.<\/p>\n<p>Outside of networking, most of the last week was various arch fixlets (powerpc, arm, x86, arm64), some driver fixes (mainly scsi and rdma) and misc other noise (documentation, vm, perf).<\/p>\n<p>The appended shortlog gives an overview of the details (again, this is only the small stuff in the last week, if you want the full 4.16 changelog you&#8217;d better get the git tree and filter by your area of interest).<\/i><\/p><\/blockquote>\n<p>Linux Kernel 4.16 release highlights:<\/p>\n<ul>\n<li>Spectre \/ Meltdown mitigation &#038; other security updates.<\/li>\n<li>L2 CDP support for L2 cache partitioning on Intel CPUs<\/li>\n<li>Correct AMD Zen temperature reporting for the Ryzen Threadripper 1900X processor.<\/li>\n<li>P-State driver support for Skylake X servers.<\/li>\n<li>POWER memory protection keys support<\/li>\n<li>Oracle DAX driver for SPARC co-processor<\/li>\n<li>Jailhouse guest support for non-root users<\/li>\n<\/ul>\n<h4>How to Install Kernel 4.16 in Ubuntu:<\/h4>\n<p>Other than using a graphical tool <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2017\/02\/ukuu-install-latest-kernels-ubuntu-linux-mint\/\" target=\"_blank\">UKUU<\/a> to install the latest mainline kernel packages, following steps will tell you how to manually download and install it in all current Ubuntu releases.<\/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\" 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>The mainline kernel PPA has made the new kernel binaries for Ubuntu, available for download at the link below:<\/p>\n<p style=\"text-align:center\"><a href='http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/' class='arconix-button arconix-button-medium arconix-button-gray' target=\"_blank\" >Download Kernel 4.16 (.deb)<\/a><\/p>\n<p>Depends on your OS type, download and install the packages in turns:<\/p>\n<ol>\n<li>linux-headers-4.16.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-4.16.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-image-4.16.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>To get the Kernel 4.16 from the command console, run the commands below one by one:<\/p>\n<p>For 64-bit OS:<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\r\n\r\nwget -c http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/linux-headers-4.16.0-041600_4.16.0-041600.201804012230_all.deb\r\n\r\nwget -c http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/linux-headers-4.16.0-041600-generic_4.16.0-041600.201804012230_amd64.deb\r\n\r\nwget -c http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/linux-image-4.16.0-041600-generic_4.16.0-041600.201804012230_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 http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/linux-headers-4.16.0-041600_4.16.0-041600.201804012230_all.deb\r\n\r\nwget -c http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/linux-headers-4.16.0-041600-generic_4.16.0-041600.201804012230_i386.deb\r\n\r\nwget -c http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.16\/linux-image-4.16.0-041600-generic_4.16.0-041600.201804012230_amd64.deb\r\nsudo dpkg -i *.deb<\/pre>\n<p>After installed these .debs, restart and enjoy!<\/p>\n<p><b>Uninstall Linux Kernel 4.16:<\/b><\/p>\n<p>Start\/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then use Ubuntu Tweak, or other system tool to remove the Kernel 4.16, or you may see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2016\/05\/remove-old-kernels-ubuntu-16-04\/\" target=\"_blank\">this how to remove old kernels tutorial<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 4.16 was released yesterday. Linus Torvalds announced in lkml.org: So the take from final week of the 4.16 release looks a lot like rc7, in that about half of it is networking. If it wasn&#8217;t for that, it would all be very small and calm. We had a number of fixes and cleanups [&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-7632","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\/7632","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=7632"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7632\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=7632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=7632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=7632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}