{"id":6921,"date":"2017-07-03T14:33:24","date_gmt":"2017-07-03T14:33:24","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6921"},"modified":"2017-07-03T14:33:24","modified_gmt":"2017-07-03T14:33:24","slug":"install-linux-kernel-4-12-in-ubuntu-linux-mint","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2017\/07\/install-linux-kernel-4-12-in-ubuntu-linux-mint\/","title":{"rendered":"How to Install Linux Kernel 4.12 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=\"alignleft size-full wp-image-5727\" \/><\/p>\n<p>The 4.12 Linux Kernel was finally released earlier today. Linus Torvalds announced in <a href=\"https:\/\/lkml.org\/lkml\/2017\/7\/2\/164\" target=\"_blank\">lkml.org<\/a>:<\/p>\n<blockquote><p>Things were quite calm this week, so I really didn&#8217;t have any real reason to delay the 4.12 release.<\/p>\n<p>As mentioned over the various rc announcements, 4.12 is one of the bigger releases historically, and I think only 4.9 ends up having had more commits. And 4.9 was big at least partly because Greg announced it was an LTS kernel. But 4.12 is just plain big.<\/p>\n<p>There&#8217;s also nothing particularly odd going on in the tree &#8211; it&#8217;s all just normal development, just more of it that usual. The shortlog below is obviously just the minor changes since rc7 &#8211; the whole 4.12 shortlog is much too large to post.<\/p>\n<p>In the diff department, 4.12 is also very big, although the reason there isn&#8217;t just that there&#8217;s a lot of development, we have the added bulk of a lot of new header files for the AMD Vega support. That&#8217;s almost exactly half the bulk of the patch, in fact, and partly as a result of that the driver side dominates everything else at 85+% of the release patch (it&#8217;s not all the AMD Vega headers &#8211; the Intel IPU driver in staging is big too, for example).<\/p>\n<p>But aside from just being large, and a blip in size around rc5, the rc&#8217;s stabilized pretty nicely, so I think we&#8217;re all good to go.<\/p>\n<p>Go out and use it.<\/p><\/blockquote>\n<p>Kernel 4.12 top features:<\/p>\n<ul>\n<li>initial GeForce GTX 1000 series 3D accelerated support on Nouveau driver stack<\/li>\n<li>Intel&#8217;s DRM driver has turned on atomic mode-setting by default<\/li>\n<li>Initial Radeon RX Vega support on AMDGPU DRM driver<\/li>\n<li>A USB Type-C port manager<\/li>\n<li>KASLR enabled by default for x86 systems.<\/li>\n<li>BFQ and Kyber now mainline as two new I\/O schedulers. <\/li>\n<li>Continued power management tuning. <\/li>\n<\/ul>\n<h4>How to Install Kernel 4.12 in Ubuntu \/ Linux Mint:<\/h4>\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 binaries for the new kernel release, available for download at the link below:<\/p>\n<p style=\"text-align:center\"><a href='http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/' class='arconix-button arconix-button-medium arconix-button-gray' target=\"_blank\" >Download Kernel 4.12 (.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.12.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-4.12.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-image-4.12.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.12 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 http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb\r\n\r\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb\r\n\r\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_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 http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb\r\n\r\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_i386.deb\r\n\r\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.12\/linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_i386.deb\r\n\r\nsudo dpkg -i *.deb<\/pre>\n<p>After installed these .debs, restart and enjoy!<\/p>\n<p>Uninstall Linux Kernel 4.12:<\/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.12, 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>The 4.12 Linux Kernel was finally released earlier today. Linus Torvalds announced in lkml.org: Things were quite calm this week, so I really didn&#8217;t have any real reason to delay the 4.12 release. As mentioned over the various rc announcements, 4.12 is one of the bigger releases historically, and I think only 4.9 ends up [&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],"tags":[160,14],"class_list":["post-6921","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-kernel","tag-linux-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6921","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=6921"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6921\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}