{"id":6426,"date":"2016-12-12T04:20:22","date_gmt":"2016-12-12T04:20:22","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6426"},"modified":"2016-12-12T04:20:22","modified_gmt":"2016-12-12T04:20:22","slug":"install-linux-kernel-4-9-ubuntu-linux-mint","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2016\/12\/install-linux-kernel-4-9-ubuntu-linux-mint\/","title":{"rendered":"How to Install Linux Kernel 4.9 in Ubuntu \/ Linux Mint"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/kernel-icon-tux.png\"><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\" \/><\/a><\/p>\n<p>Linux Kernel 4.9 was finally released last night as &#8216;the biggest release&#8217; said in the announcement. Linus Torvalds wrote on <a href=\"https:\/\/lkml.org\/lkml\/2016\/12\/11\/102\" target=\"_blank\">lkml.org<\/a>:<\/p>\n<blockquote><p>So Linux 4.9 is out, and the merge window for 4.10 is thus open.<\/p>\n<p>With the extra week for 4.9, the timing for the merge window is obviously a bit awkward, and it technically closes in two weeks on Christmas Day. But that is a pure technicality, because I will certainly stop pulling on the 23rd at the latest, and if I get roped into xmas food prep, even that date might be questionable.<\/p>\n<p>I could extend the merge window rather than cut it short, but I&#8217;m not going to. I suspect we all want a nice calm winter break, so if your stuff isn&#8217;t ready to be merged early, the solution is to just not merge it yet at all, and wait for 4.11. Just so you all know (I already bcc&#8217;d the main merge window suspects in a separate mailing last week, I&#8217;m just repeating myself here to avoid anybody being confused about timing).<\/p>\n<p>Anyway, back to 4.9 itself.<\/p>\n<p>I&#8217;m pretty sure this is the biggest release we&#8217;ve ever had, at least in number of commits. If you look at the number of lines changed, we&#8217;ve had bigger releases in the past, but they have tended to be due to specific issues (v4.2 got a lot of lines from the AMD GPU register definition files, for example, and we&#8217;ve had big re-organizations that caused a lot of lines in the past: v3.2 was big due to staging, v3.7<br \/>\nhad the automated uapi header file disintegration, etc). In contrast, 4.9 is just big.<\/p>\n<p>Admittedly a chunk of that is the new greybus staging support, but that really isn&#8217;t the bulk of it &#8211; it&#8217;s just another small detail in the overall &#8220;yes, v4.9 is big&#8221; picture.<\/p>\n<p>Other than just the size, 4.9 looks fairly normal. A bit over two thirds drivers (staging, GPU and networking are the bulk of it, but it&#8217;s all over), with the rest looking fairly normal too: arch updates, documentation, generic networking, filesystems..<\/p>\n<p>The shortlog (16k+ commits, with another 1100 merge commits to round things out) is obviously much too big to put here, and wouldn&#8217;t be legible anyway. So as is my wont, I&#8217;m appending just the log of my merges.<\/p><\/blockquote>\n<p><b>New Features in Linux Kernel 4.9:<\/b><\/p>\n<ul>\n<li>Virtual Display Support and improved GPU reset for AMDGPU.<\/li>\n<li>Various fixes and improvements to Intel DRM.<\/li>\n<li>Memory protection keys (MPK) support.<\/li>\n<li>Support for vmapped kernel stacks.<\/li>\n<li>29 more ARM machines support, including Raspberry Pi Zero, LG Nexus 5, etc.<\/li>\n<li>Various file-system improvements and more.<\/li>\n<\/ul>\n<h4>How to Install Linux Kernel 4.9:<\/h4>\n<p>The Ubuntu kernel team has build the new kernel release, and the binaries are available for download at the link below:<\/p>\n<p style=\"text-align:center;\"><a href='http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/' class='arconix-button arconix-button-large arconix-button-gray' target=\"_blank\" >Download Kernel 4.9 (.deb)<\/a><\/p>\n<p>Depends on your OS type, grab and install the packages below one by one:<\/p>\n<ul>\n<li>linux-headers-4.9.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-4.9.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-image-4.9.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<\/ul>\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.9 from the command console, run the commands below one by one:<\/p>\n<p><i>For 64-bit OS:<\/i><\/p>\n<pre style=\"border:none;\">cd \/tmp\/\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb\n\nsudo dpkg -i *.deb<\/pre>\n<p><i>for 32-bit OS:<\/i><\/p>\n<pre style=\"border:none;\">cd \/tmp\/\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.9\/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb\n\nsudo dpkg -i *.deb<\/pre>\n<p>After installed these .debs, restart and enjoy!<\/p>\n<h4>Uninstall Linux Kernel 4.9:<\/h4>\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.9, or you may see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2016\/05\/remove-old-kernels-ubuntu-16-04\/\" target=\"_blank\">this post that teach you how to remove old kernels<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 4.9 was finally released last night as &#8216;the biggest release&#8217; said in the announcement. Linus Torvalds wrote on lkml.org: So Linux 4.9 is out, and the merge window for 4.10 is thus open. With the extra week for 4.9, the timing for the merge window is obviously a bit awkward, and it technically [&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":[14],"class_list":["post-6426","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-linux-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6426","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=6426"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6426\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}