{"id":8919,"date":"2019-05-06T15:21:46","date_gmt":"2019-05-06T15:21:46","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8919"},"modified":"2019-05-06T15:21:46","modified_gmt":"2019-05-06T15:21:46","slug":"linux-kernel-5-1-released-install-in-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/05\/linux-kernel-5-1-released-install-in-ubuntu-18-04\/","title":{"rendered":"Linux Kernel 5.1 Released! How to Install it in Ubuntu"},"content":{"rendered":"<p><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=\"aligncenter 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\" \/><\/p>\n<p>The latest stable Linux Kernel 5.1 was released. Linus Torvalds <a href=\"https:\/\/lkml.org\/lkml\/2019\/5\/5\/278\" rel=\"noopener\" target=\"_blank\">announced<\/a> last night:<\/p>\n<blockquote><p>So it&#8217;s a bit later in the day than I usually do this, just because I was waffling about the release. Partly because I got some small pull requests today, but mostly just because I wasn&#8217;t looking forward to the timing of this upcoming 5.2 merge window.<\/p>\n<p>&#8230;<\/p>\n<p>On the whole, 5.1 looks very normal with just over 13k commits (plus another 1k+ if you count merges). Which is pretty much our normal size these days. No way to boil that down to a sane shortlog, with work all over.<\/p>\n<p>&#8230;<\/p><\/blockquote>\n<p>Linux 5.1 brings many exciting changes including improved support for Intel Fastbook (enabled by default), Intel 22260 WiFi support, new I\/O interface, new ACPI support, Raspberry Pi 3 Model A+ support by mainline, and a lot of new hardware support.<\/p>\n<h4>How to Install Linux Kernel 5.1 in Ubuntu:<\/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\" rel=\"noopener\" 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 packages for Linux 5.1 are available for download at the link below:<\/p>\n<p style=\"text-align:center;\"><a href='https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/' class='arconix-button-flat arconix-button-large arconix-button-tan' target=\"_blank\" >Download Kernel 5.1<\/a><\/p>\n<p>Depends on your OS type, download and install the packages in turns:<\/p>\n<ol>\n<li>linux-headers-5.1.0-xxxxxx_all.deb<\/li>\n<li>linux-headers-5.1.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-modules-5.1.0-xxx-generic(\/lowlatency)_xxx_amd64(\/i386).deb<\/li>\n<li>linux-image-xxx-5.1.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>Alternatively you can download and install the kernel binaries via terminal commands (<b>Ctrl+Alt+T<\/b>):<\/p>\n<p>For 64-bit OS:<\/p>\n<pre style=\"border:none;\">cd \/tmp\/\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-image-unsigned-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_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 https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-image-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb\r\n\r\nwget -c https:\/\/kernel.ubuntu.com\/~kernel-ppa\/mainline\/v5.1\/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb\r\n\r\nsudo dpkg -i *.deb<\/pre>\n<p>Once installed, restart your computer and enjoy!<\/p>\n<p><b>Uninstall Linux Kernel 5.1:<\/b><\/p>\n<p>Restart your machine and select boot with the previous kernel in boot menu \u2018Grub2 -> Advanced Option for Ubuntu\u2019. Then run command to remove Linux Kernel 5.1:<\/p>\n<pre style=\"border:none;\">sudo dpkg --purge linux-image-5.1.0-050100-generic linux-image-unsigned-5.1.0-050100-generic<\/pre>","protected":false},"excerpt":{"rendered":"<p>The latest stable Linux Kernel 5.1 was released. Linus Torvalds announced last night: So it&#8217;s a bit later in the day than I usually do this, just because I was waffling about the release. Partly because I got some small pull requests today, but mostly just because I wasn&#8217;t looking forward to the timing of [&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,1707],"class_list":["post-8919","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-linux-kernel","tag-linux-kernel-5-1"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8919","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=8919"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8919\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}