{"id":2284,"date":"2018-06-17T14:00:31","date_gmt":"2018-06-17T22:00:31","guid":{"rendered":"https:\/\/www.cloudinsidr.com\/content\/?p=2284"},"modified":"2019-03-21T23:50:48","modified_gmt":"2019-03-22T06:50:48","slug":"how-to-upgrade-the-linux-kernel-in-fedora-29","status":"publish","type":"post","link":"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/","title":{"rendered":"How to upgrade the Linux kernel in Fedora 28\/29 quickly and easily"},"content":{"rendered":"<p>As zero-day exploits become increasingly common, keeping the kernel up to date is a top priority.<\/p>\n<p>In CentOS 6.x\/7.x and RHEL 6x.\/7.x, upgrading the Linux Kernel is a painful procedure which requires about a dozen steps. On Fedora, all it takes is a time-saving two-liner. You don&#8217;t need to concern yourself with the configuration of the grub boot manager, which is a frequent source of trouble on CentOS and RHEL.<\/p>\n<p><!--more--><\/p>\n<h2>Upgrade your Fedora installation<\/h2>\n<p>Update your system:<\/p>\n<pre>$ sudo dnf upgrade --refresh<\/pre>\n<p>Reboot. Next, install the\u00a0dnf-plugin-system-upgrade\u00a0package:<\/p>\n<pre>$ sudo dnf install dnf-plugin-system-upgrade<\/pre>\n<h2>Mainline vs. Stable: download repository definitions<\/h2>\n<p>When upgrading your Linux kernel, you are faced with a choice between the mainline and stable branches.<\/p>\n<p>Many critical cyber security fixes make it at first only into the mainline release. It can take two days or more for the mainline kernel to become the stable kernel. If you wanted to apply the most recent security fixes, you would be looking for the mainline branch\u00a0<strong>kernel-vanilla-mainline.<\/strong>\u00a0 This is the most cutting-edge Linux kernel on Fedora. It is suitable for a\u00a0 &#8216;high-risk&#8217; production environment, especially when cyber security is important to your business.<\/p>\n<p>If you were to prioritize stability and insisted that it was more important to (nearly) never break anything, then\u00a0<strong>kernel-vanilla-stable<\/strong> would be your best choice.<\/p>\n<figure id=\"attachment_2448\" aria-describedby=\"caption-attachment-2448\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-28\/mainline_5_0\/\" rel=\"attachment wp-att-2448\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-2448\" src=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Mainline_5_0-1024x829.png\" alt=\"Kernel 5.0 is now live on Kernel.org &amp; Fedora 29!\" width=\"1024\" height=\"829\" srcset=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Mainline_5_0-1024x829.png 1024w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Mainline_5_0-300x243.png 300w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Mainline_5_0-768x622.png 768w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Mainline_5_0-600x486.png 600w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Mainline_5_0.png 1472w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-2448\" class=\"wp-caption-text\">Kernel 5.0 is now live on Kernel.org &amp; Fedora 29!<\/figcaption><\/figure>\n<h3>Download kernel repository definitions<\/h3>\n<p>Download the definitions for the Kernel vanilla repositories:<\/p>\n<pre>curl -s https:\/\/repos.fedorapeople.org\/repos\/thl\/kernel-vanilla.repo | sudo tee \/etc\/yum.repos.d\/kernel-vanilla.repo<\/pre>\n<p>Run this to install the latest mainline (aka pre-release) kernel:<\/p>\n<pre>sudo dnf --enablerepo=kernel-vanilla-mainline update<\/pre>\n<h2>Running the kernel upgrade on Fedora<\/h2>\n<p>Either way, installing a Linux kernel upgrade on Fedora 28\/29 is a no-brainer. Just two lines of code, which give you peace of mind if you need to always stay &#8220;ahead of the curve&#8221;. For the mainline kernel:<\/p>\n<pre>sudo dnf config-manager --set-enabled <strong>kernel-vanilla-mainline<\/strong>\r\nsudo dnf update\r\n<\/pre>\n<p>For the stable kernel branch:<\/p>\n<pre>sudo dnf config-manager --set-enabled <strong>kernel-vanilla-stable<\/strong>\r\nsudo dnf update\r\n<\/pre>\n<p>After the kernel upgrade, reboot.<\/p>\n<h2>Verify the upgrade of the Linux Kernel<\/h2>\n<p>After the reboot, verify that the kernel upgrade succeeded using the following command:<\/p>\n<pre>uname -a\r\n\r\n<\/pre>\n<figure id=\"attachment_2445\" aria-describedby=\"caption-attachment-2445\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-28\/kernel_5_0\/\" rel=\"attachment wp-att-2445\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-2445\" src=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Kernel_5_0-1024x222.png\" alt=\"Linux Kernel 5.0 (Fedora 29)\" width=\"1024\" height=\"222\" srcset=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Kernel_5_0-1024x222.png 1024w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Kernel_5_0-300x65.png 300w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Kernel_5_0-768x166.png 768w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Kernel_5_0-600x130.png 600w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/Kernel_5_0.png 1421w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-2445\" class=\"wp-caption-text\">Linux Kernel 5.0 (Fedora 29)<\/figcaption><\/figure>\n<pre><\/pre>\n<h2>Linus Torvalds: &#8220;I am back!&#8221; and &#8220;the Kernel 5.0 is now ready!&#8221;<\/h2>\n<p>\u201cAt this point,&#8221; Linus Torvalds stated, \u201cthe Kernel 5.0 is now ready!&#8221;.<\/p>\n<p>One thing is for sure, the kernel version numbers are just that: numbers. Not more, not less. Nevertheless, the only thing that really matters is keeping your IT environment secured. Obviously, upgrading the Kernel isn&#8217;t everything, but it&#8217;s certainly a critical part of it.<\/p>\n<figure id=\"attachment_2466\" aria-describedby=\"caption-attachment-2466\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/1280px-linus-torvalds_ieee_ibuka_award_2018\/\" rel=\"attachment wp-att-2466\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-2466\" src=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018-1024x642.jpg\" alt=\" Linus Torvalds receiving 2018 IEEE Masaru Ibuka Consumer Electronics Award from ICCE 2018 Conference Chair Saraju P. Mohanty, and IEEE President James A. Jefferies at ICCE 2018 on 12 Jan 2018 at Las Vegas.\" width=\"1024\" height=\"642\" srcset=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018-1024x642.jpg 1024w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018-300x188.jpg 300w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018-768x481.jpg 768w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018-600x376.jpg 600w, https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-2466\" class=\"wp-caption-text\">Linus Torvalds receiving 2018 IEEE Masaru Ibuka Consumer Electronics Award from ICCE 2018 Conference Chair Saraju P. Mohanty, and IEEE President James A. Jefferies at ICCE 2018 on 12 Jan 2018 at Las Vegas. (This file is licensed under the\u00a0<a class=\"extiw\" title=\"w:en:Creative Commons\" href=\"https:\/\/en.wikipedia.org\/wiki\/en:Creative_Commons\">Creative Commons<\/a>\u00a0<a class=\"external text\" href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/deed.en\" rel=\"nofollow\">Attribution-Share Alike 4.0 International<\/a> license; Author Notsoimp2012 )<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>As zero-day exploits become increasingly common, keeping the kernel up to date is a top priority. In CentOS 6.x\/7.x and RHEL 6x.\/7.x, upgrading the Linux Kernel is a painful procedure which requires about a dozen steps. On Fedora, all it takes is a time-saving two-liner. You don&#8217;t need to concern yourself with the configuration of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2466,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[143,1],"tags":[52,54,247,28,245,53,246],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v14.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to upgrade the Linux kernel in Fedora 28\/29 quickly and easily - CloudInsidr<\/title>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to upgrade the Linux kernel in Fedora 28\/29 quickly and easily - CloudInsidr\" \/>\n<meta property=\"og:description\" content=\"As zero-day exploits become increasingly common, keeping the kernel up to date is a top priority. In CentOS 6.x\/7.x and RHEL 6x.\/7.x, upgrading the Linux Kernel is a painful procedure which requires about a dozen steps. On Fedora, all it takes is a time-saving two-liner. You don&#8217;t need to concern yourself with the configuration of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudInsidr\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-17T22:00:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-22T06:50:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"802\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/#website\",\"url\":\"https:\/\/www.cloudinsidr.com\/content\/\",\"name\":\"CloudInsidr\",\"description\":\"Cyber security, infotech\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.cloudinsidr.com\/content\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.cloudinsidr.com\/content\/wp-content\/uploads\/2018\/06\/1280px-Linus-Torvalds_IEEE_Ibuka_Award_2018.jpg\",\"width\":1280,\"height\":802,\"caption\":\"Linus Torvalds receiving 2018 IEEE Masaru Ibuka Consumer Electronics Award from ICCE 2018 Conference Chair Saraju P. Mohanty, and IEEE President James A. Jefferies at ICCE 2018 on 12 Jan 2018 at Las Vegas.\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/#webpage\",\"url\":\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/\",\"name\":\"How to upgrade the Linux kernel in Fedora 28\/29 quickly and easily - CloudInsidr\",\"isPartOf\":{\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/#primaryimage\"},\"datePublished\":\"2018-06-17T22:00:31+00:00\",\"dateModified\":\"2019-03-22T06:50:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/#\/schema\/person\/dd6ee9cb21cf05763fd7cff3d6f11b2b\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cloudinsidr.com\/content\/how-to-upgrade-the-linux-kernel-in-fedora-29\/\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/#\/schema\/person\/dd6ee9cb21cf05763fd7cff3d6f11b2b\",\"name\":\"Cloud Insidr\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cloudinsidr.com\/content\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8b2fa1415b3d573b97d818b8f8f83b7c?s=96&d=mm&r=g\",\"caption\":\"Cloud Insidr\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/posts\/2284"}],"collection":[{"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/comments?post=2284"}],"version-history":[{"count":16,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/posts\/2284\/revisions"}],"predecessor-version":[{"id":2467,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/posts\/2284\/revisions\/2467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/media\/2466"}],"wp:attachment":[{"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/media?parent=2284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/categories?post=2284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudinsidr.com\/content\/wp-json\/wp\/v2\/tags?post=2284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}