{"id":5247,"date":"2015-08-31T17:14:20","date_gmt":"2015-08-31T17:14:20","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=5247"},"modified":"2015-09-06T14:32:08","modified_gmt":"2015-09-06T14:32:08","slug":"upgrade-kernel-4-2-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2015\/08\/upgrade-kernel-4-2-ubuntu\/","title":{"rendered":"How to Install \/ Upgrade to Linux Kernel 4.2 in Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/12\/linux-kernel-icon-tux.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/12\/linux-kernel-icon-tux.png\" alt=\"upgrade Linux Kernel\" width=\"245\" height=\"245\" class=\"alignleft size-full wp-image-4345\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/12\/linux-kernel-icon-tux.png 245w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/12\/linux-kernel-icon-tux-150x150.png 150w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/a><\/p>\n<p>Linux Kernel 4.2 was released yesterday, at noon. Linus Torvalds wrote on <a href=\"https:\/\/lkml.org\/lkml\/2015\/8\/30\/96\" target=\"_blank\">lkml.org<\/a>:<\/p>\n<blockquote><p><i>So judging by how little happened this week, it wouldn&#8217;t have been a mistake to release 4.2 last week after all, but hey, there&#8217;s certainly a few fixes here, and it&#8217;s not like delaying 4.2 for a week should have caused any problems either.<\/p>\n<p>So here it is, and the merge window for 4.3 is now open. I already have a few pending early pull requests, but as usual I&#8217;ll start processing them tomorrow and give the release some time to actually sit.<\/p>\n<p>The shortlog from rc8 is tiny, and appended. The patch is pretty tiny too&#8230;<\/i><\/p><\/blockquote>\n<p><b>What&#8217;s New in Kernel 4.2:<\/b><\/p>\n<ul>\n<li>rewrites of Intel Assembly x86 code<\/li>\n<li>support for new ARM boards and SoCs<\/li>\n<li>F2FS per-file encryption<\/li>\n<li>The AMDGPU kernel DRM driver<\/li>\n<li>VCE1 video encode support for the Radeon DRM driver<\/li>\n<li>Initial support for Intel Broxton Atom SoCs<\/li>\n<li>Support for ARCv2 and HS38 CPU cores.<\/li>\n<li>added queue spinlocks support<\/li>\n<li>many other improvements and updated drivers.<\/li>\n<\/ul>\n<p><b>How to Install Kernel 4.2 in Ubuntu:<\/b><\/p>\n<p>The binary packages of this kernel release are available for download at link below:<\/p>\n<p style=\"text-align:center;\"><a href=\"http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/\" target=\"_blank\">Download Kernel 4.2 (.DEB)<\/a><\/p>\n<p><i><b>NOTE:<\/b> The kernel binaries are marked as UNSTABLE (see the link url). You may not do this in a production machine, or you have to know what you&#8217;re going to do and know about how to restore if something goes wrong (or see the link at bottom). <\/i><\/p>\n<p>First check out your OS type, <i>32-bit (i386)<\/i> or <i>64-bit (amd64)<\/i>, then download and install the packages below in turn:<\/p>\n<ol>\n<li><i>linux-headers-4.2.0-xxx_all.deb<\/i><\/li>\n<li><i>linux-headers-4.2.0-xxx-generic_xxx_i386\/amd64.deb<\/i><\/li>\n<li><i>linux-image-4.2.0-xxx-generic_xxx_i386\/amd64.deb<\/i><\/li>\n<\/ol>\n<p>After installing the kernel, you may run <code>sudo update-grub<\/code> command in terminal (Ctrl+Alt+T) to refresh grub boot-loader.<\/p>\n<p>If you need a low latency system (e.g. for recording audio) then download &#038; install below packages instead:<\/p>\n<ol>\n<li><i>linux-headers-4.2.0_xxx_all.deb<\/i><\/li>\n<li><i>linux-headers-4.2.0-xxx-lowlatency_xxx_i386\/amd64.deb<\/i><\/li>\n<li><i>linux-image-4.2.0-xxx-lowlatency_xxx_i386\/amd64.deb<\/i><\/li>\n<\/ol>\n<p>For Ubuntu Server without a graphical UI, you may run below commands one by one to grab packages via wget and install them via dpkg:<\/p>\n<p>For 64-bit system run:<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb\n\nsudo dpkg -i linux-headers-4.2.0-*.deb linux-image-4.2.0-*.deb<\/pre>\n<p>For 32-bit system, run:<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.2-unstable\/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb\n\nsudo dpkg -i linux-headers-4.2.0-*.deb linux-image-4.2.0-*.deb<\/pre>\n<p>Finally restart your computer to take effect.<\/p>\n<p><b>To revert back, remove old kernels<\/b>, see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2015\/08\/install-latest-kernel-script\/\" target=\"_blank\">install kernel simply via a script<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 4.2 was released yesterday, at noon. Linus Torvalds wrote on lkml.org: So judging by how little happened this week, it wouldn&#8217;t have been a mistake to release 4.2 last week after all, but hey, there&#8217;s certainly a few fixes here, and it&#8217;s not like delaying 4.2 for a week should have caused any [&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":[14],"class_list":["post-5247","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-linux-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5247","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=5247"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5247\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=5247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=5247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=5247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}