{"id":4867,"date":"2015-04-13T14:09:06","date_gmt":"2015-04-13T14:09:06","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=4867"},"modified":"2015-07-28T16:43:26","modified_gmt":"2015-07-28T16:43:26","slug":"upgrade-to-linux-kernel-4-0-in-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2015\/04\/upgrade-to-linux-kernel-4-0-in-ubuntu\/","title":{"rendered":"How to Install\/Upgrade to Kernel 4.0 in Ubuntu, Linux Mint"},"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=\"Linux Kernel 4.0\" 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><b>Linux Kernel 4.0, a new stable release, has been announced by Linus Torvalds last night. He wrote on the Linux kernel mailing list:<\/b><\/p>\n<blockquote><p>So I decided to release 4.0 as per the normal schedule, because there really weren&#8217;t any known issues, and while I&#8217;ll be traveling during the end of the upcoming week due to a college visit, I&#8217;m hoping that won&#8217;t affect the merge window very much. We&#8217;ll see.<\/p>\n<p>Linux 4.0 was a pretty small release both in linux-next and in final size, although obviously &#8220;small&#8221; is all relative. It&#8217;s still over 10k non-merge commits. But we&#8217;ve definitely had bigger releases (and judging by linux-next v4.1 is going to be one of the bigger ones).<\/p><\/blockquote>\n<p><b>What&#8217;s New in Kernel 4.0:<\/b><\/p>\n<p>Linux Kernel 4.0, formerly known as Linux 3.20, features:<\/p>\n<ul>\n<li>Live Kernel Patching, ability to install security kernel updates WITHOUT REBOOT.<\/li>\n<li>DisplayPort Audio, and better better fan control support for the Radeon DRM driver.<\/li>\n<li>Graphics and power-management support for Intel\u2019s Skylake processors<\/li>\n<li>Intel Quark SoC support<\/li>\n<li>PlayStation PS 3 support.<\/li>\n<li>new ARM hardware support, IBM z13 support, better Toshiba laptop support, improved Logitech HID support, and more.<\/li>\n<\/ul>\n<p><b>Install Kernel 4.0 in Ubuntu\/Linux Mint:<\/b><\/p>\n<p>The Ubuntu Kernel Team has made the binary packages for this kernel release, available for download at link below:<\/p>\n<p style=\"text-align:center;\"><a href=\"http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.0-vivid\/\" target=\"_blank\">Download Kernel 4.0 (.DEB)<\/a><\/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.0.0-xxx_all.deb<\/i><\/li>\n<li><i>linux-headers-4.0.0-xxx-generic_xxx_i386\/amd64.deb<\/i><\/li>\n<li><i>linux-image-4.0.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.0.0_xxx_all.deb<\/i><\/li>\n<li><i>linux-headers-4.0.0-xxx-lowlatency_xxx_i386\/amd64.deb<\/i><\/li>\n<li><i>linux-image-4.0.0-xxx-lowlatency_xxx_i386\/amd64.deb<\/i><\/li>\n<\/ol>\n<p><b>For Ubuntu Server with a graphical UI<\/b>, you may run below commands one by one to grab packages with wget and install them via apt-get:<\/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.0-vivid\/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.0-vivid\/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.0-vivid\/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb\n\nsudo dpkg -i linux-headers-4.0.0-*.deb linux-image-4.0.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.0-vivid\/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.0-vivid\/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_i386.deb\n\nwget http:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v4.0-vivid\/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_i386.deb\n\nsudo dpkg -i linux-headers-4.0.0-*.deb linux-image-4.0.0-*.deb<\/pre>\n<p><b>Uninstall Linux Kernel 4.0:<\/b><\/p>\n<p>If for some reason, the new kernel does not work properly for you, reboot into a previous Kernel (Grub boot loader -> Advanced -> select a previous kernel) and run below command in terminal to remove the Linux Kernel 4.0:<\/p>\n<pre style=\"border:none;\">sudo apt-get remove linux-headers-4.0.0-* linux-image-4.0.0-*<\/pre>","protected":false},"excerpt":{"rendered":"<p>Linux Kernel 4.0, a new stable release, has been announced by Linus Torvalds last night. He wrote on the Linux kernel mailing list: So I decided to release 4.0 as per the normal schedule, because there really weren&#8217;t any known issues, and while I&#8217;ll be traveling during the end of the upcoming week due to [&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":[1262,14],"class_list":["post-4867","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-kernel-4-0-series","tag-linux-kernel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4867","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=4867"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4867\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=4867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=4867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=4867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}