{"id":22527,"date":"2023-10-27T16:54:50","date_gmt":"2023-10-27T16:54:50","guid":{"rendered":"https:\/\/linuxways.net\/?p=22527"},"modified":"2023-10-27T16:54:50","modified_gmt":"2023-10-27T16:54:50","slug":"apply-kernel-patches-in-ubuntu-without-rebooting","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/apply-kernel-patches-in-ubuntu-without-rebooting\/","title":{"rendered":"Apply Kernel Patches in Ubuntu Without Rebooting"},"content":{"rendered":"<p><strong>Patches <\/strong>in an Operating System is simply a file containing a set of instructions or data that updates or addresses a vulnerability or a bug within a software or an application. The Kernel Patch refers to applying patches to the running Linux Operating System Kernel to improve the overall security of the Linux System. The Kernel in an Operating System manages the operations and functions inside a CPU and thus is crucial to be updated regularly.<\/p>\n<p>This article explains the process of applying Kernel Patches in Ubuntu without Rebooting.<\/p>\n<h2><strong>Apply Kernel Patches in Ubuntu Without Rebooting<\/strong><\/h2>\n<p>Ubuntu offers the Ubuntu Pro Version where you can use the Advanced Tools and Services to Apply Kernel Patches in Ubuntu Without the need for rebooting your Ubuntu System. To Apply Kernel Patches in Ubuntu, you have to install and then enable the Canonical-livepatch Package. The steps below discuss the way to apply Kernel Patches in Ubuntu without Rebooting your Ubuntu System.<\/p>\n<h3><strong>Step 1: Register for the Ubuntu Live Patch Service<\/strong><\/h3>\n<p>To apply Kernel Patches in Ubuntu, you have to register for the Ubuntu Pro version first. With the Ubuntu Pro Version, Kernel Patches can be applied easily without the need for rebooting your Ubuntu System. To Register for Ubuntu Live Patch Service, search for Ubuntu Pro on your favorite web browser URL:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"320\" class=\"wp-image-22528\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-1.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-1-300x50.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-1-1024x171.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-1-768x128.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-1-1536x256.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>The Ubuntu Pro Official Website will appear. Click on the Ubuntu Pro Link to open the Website:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1463\" height=\"677\" class=\"wp-image-22529\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-2.png 1463w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-2-300x139.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-2-1024x474.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-2-768x355.png 768w\" sizes=\"auto, (max-width: 1463px) 100vw, 1463px\" \/><\/p>\n<p>Instead of searching for the Ubuntu Pro Version, you can directly access the <a href=\"https:\/\/ubuntu.com\/pro\">Ubuntu Pro<\/a> Version Web Page as well. This will open the Ubuntu Pro Version Web Page. On the Web Page, click on the \u201cGet Ubuntu Pro Now\u201d button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22530\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-3.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-3-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-3-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-3-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-3-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>The Web Page will now ask for the Subscription User. As you need to use Ubuntu Pro for free and solely for yourself, click on the \u201cMyself\u201d Option instead of \u201cMy Organisation\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22531\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-4.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-4-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-4-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-4-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-4-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Once you click on the \u201cMyself\u201d option, scroll down now and you will find the \u201cRegister\u201d Button. Click on it to start registering for the Ubuntu Pro Version:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22532\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-5.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-5-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-5-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-5-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-5-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>The Ubuntu One Web Page will appear. The Ubuntu One is a single account where only one user can log in and utilize all the Services. If you already have a Ubuntu One account Registered, log in to your Ubuntu One Account by typing in your email and account Password. In our case, we do not have any account registered yet, so we will click the \u201cI don\u2019t have an Ubuntu One Account\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22533\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-6.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-6-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-6-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-6-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-6-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>The Ubuntu One Account Menu will now ask you to create your account. To Create your Ubuntu One Account, enter your email address, full name, Username, and Password:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22534\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-7.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-7-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-7-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-7-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-7-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Once you type in your credentials, Re-type your Account Password to verify the Password, then click on the Radio Button to accept the Policy and Terms of Service, and then click on the \u201cCreate Account\u201d button at the end to Create your Fresh Ubuntu One Account:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22535\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-8.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-8-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-8-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-8-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-8-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>In our case, we have entered the required credentials and then clicked on the \u201dCreate Account\u201d button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22536\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-9.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-9-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-9-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-9-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-9-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>When your New Account is registered, you will receive an email at the provided email address during account creation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1701\" height=\"584\" class=\"wp-image-22537\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-10.png 1701w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-10-300x103.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-10-1024x352.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-10-768x264.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-10-1536x527.png 1536w\" sizes=\"auto, (max-width: 1701px) 100vw, 1701px\" \/><\/p>\n<p>To verify your email address, open your email and click on the provided verification or confirmation link:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22538\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-11.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-11-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-11-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-11-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-11-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Once you click on the email, it will redirect you to the Ubuntu One Web Page again where a Captcha will appear. Click on the \u201cI\u2019m not a robot\u201d radio button to confirm the Captcha and then click on the \u201cYes, I\u2019m Sure\u201d button to validate your email with your Ubuntu One Account:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22539\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-12.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-12-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-12-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-12-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-12-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Once validated, you will log in to your account and you will see the \u201cEmail Validated\u201d message:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1686\" height=\"560\" class=\"wp-image-22540\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-13.png 1686w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-13-300x100.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-13-1024x340.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-13-768x255.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-13-1536x510.png 1536w\" sizes=\"auto, (max-width: 1686px) 100vw, 1686px\" \/><\/p>\n<p>You can now register for the Ubuntu Pro Account Subscription by scrolling down, clicking on the \u201cMyself\u201d option, and then clicking the \u201cRegister\u201d button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22541\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-14.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-14-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-14-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-14-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-14-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>The Ubuntu One Account will now Request for Personal Data. Check all the boxes and then click on the \u201cYes, log me in\u201d Button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22542\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-15.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-15-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-15-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-15-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-15-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>You will now be logged in to your Ubuntu Pro Account where you can see your Account Subscription Details and your Ubuntu Pro Kernel Patch Token:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1078\" class=\"wp-image-22543\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-16.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-16-300x168.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-16-1024x575.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-16-768x431.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-16-1536x862.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h3><strong>Step 2: Apply Kernel Patches<\/strong><\/h3>\n<p>Now to Apply the Kernel Patches to your Ubuntu System, you have to install the Ubuntu Canonical Livepatch Package. The Canonical Livepatch ensures that the Patches are added in the Kernel without the need for rebooting the Ubuntu system. Before installing the Canonical Livepatch package, update your Ubuntu system repository using the \u201capt\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt update <span class=\"sy0\">&amp;&amp;<\/span> <span class=\"kw2\">sudo<\/span> apt upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>The Packages will start updating. Wait for the process to complete:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"481\" class=\"wp-image-22544\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-17.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-17-300x198.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>Now, Install the Snap Bundle with the \u201capt\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> snapd<\/div><\/div>\n<p>In our case, it is already installed on our Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"231\" class=\"wp-image-22545\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-18.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-18-300x95.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<p>To use Live Kernel Patches, you have to enable the Livepatch Feature on your Ubuntu System by Attaching your Ubuntu Pro Token. Open your Ubuntu Pro Account and in your Account Page, scroll down and copy the Token:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"964\" class=\"wp-image-22546\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-19.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-19-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-19-1024x514.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-19-768x386.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-19-1536x771.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Once you copy the Token, enable the Livepatch by running the \u201cattach\u201d command in the Ubuntu Terminal along with the Token:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> pro attach <span class=\"sy0\">&lt;<\/span>Token<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>This will enable the Livepatch Feature:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"313\" class=\"wp-image-22547\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-20.png 1038w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-20-300x90.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-20-1024x309.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-20-768x232.png 768w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/p>\n<p>In case, your Attached Token does not work and your Canonical Livepatch is not enabled, you have to install the canonical-livepatch feature first on your Ubuntu System with the \u201csnap\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> snap <span class=\"kw2\">install<\/span> canonical-livepatch<\/div><\/div>\n<p>In our case, the livepatch was already added to our Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1041\" height=\"406\" class=\"wp-image-22548\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-21.png 1041w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-21-300x117.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-21-1024x399.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-21-768x300.png 768w\" sizes=\"auto, (max-width: 1041px) 100vw, 1041px\" \/><\/p>\n<p>Once the Livepatch is enabled, Install the Ubuntu Pro Client now to use the Pro Tools. To install Ubuntu Pro Client, use the \u201capt\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> ubuntu-advantage-tools<\/div><\/div>\n<p>In our case, it is already installed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1031\" height=\"152\" class=\"wp-image-22549\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-22.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-22.png 1031w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-22-300x44.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-22-1024x151.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-22-768x113.png 768w\" sizes=\"auto, (max-width: 1031px) 100vw, 1031px\" \/><\/p>\n<h3><strong>Step 3: View Live Patch<\/strong><\/h3>\n<p>After you have installed and enabled the Canonical Livepatch Package on your Ubuntu System, you can view the status of your Livepatch using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">canonical-livepatch status<\/div><\/div>\n<p>The Kernel if covered by the Livepatch, will be displayed in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1031\" height=\"243\" class=\"wp-image-22550\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-23.png 1031w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-23-300x71.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-23-1024x241.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-23-768x181.png 768w\" sizes=\"auto, (max-width: 1031px) 100vw, 1031px\" \/><\/p>\n<p>You can also View All the Pro Ubuntu Services with the \u201cpro status\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> pro status<\/div><\/div>\n<p>The enabled Pro Services will be displayed in the Terminal and you can see the livepatch service is enabled:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1036\" height=\"316\" class=\"wp-image-22551\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-24.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-24.png 1036w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-24-300x92.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-24-1024x312.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-24-768x234.png 768w\" sizes=\"auto, (max-width: 1036px) 100vw, 1036px\" \/><\/p>\n<h2><strong>Bonus Step 1: Disabling a Pro Service<\/strong><\/h2>\n<p>You can also disable a Pro Service through the Terminal. In our case, we disabled the canonical-livepatch service with the \u201csnap\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> snap stop <span class=\"re5\">--disable<\/span> canonical-livepatch<\/div><\/div>\n<p>The Service when stopped, will be displayed in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1035\" height=\"61\" class=\"wp-image-22552\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-25.png 1035w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-25-300x18.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-25-1024x60.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-25-768x45.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-25-1020x61.png 1020w\" sizes=\"auto, (max-width: 1035px) 100vw, 1035px\" \/><\/p>\n<p>To confirm the stopped service, in our case, livepatch, the \u201cpro status\u201d command can be used again to list the services. You can see the livepatch is disabled in our case:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"355\" class=\"wp-image-22553\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-26.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-26.png 1040w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-26-300x102.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-26-1024x350.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-26-768x262.png 768w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/p>\n<h2><strong>Bonus Step 2: Uninstalling Canonical Livepatch<\/strong><\/h2>\n<p>If you want to remove the Canonical Livepatch Service, you can do so with the \u201cremove\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> snap remove canonical-livepatch<\/div><\/div>\n<p>When the service is removed, the Terminal will inform about its removal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1037\" height=\"178\" class=\"wp-image-22554\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-27.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-27.png 1037w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-27-300x51.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-27-1024x176.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22527-27-768x132.png 768w\" sizes=\"auto, (max-width: 1037px) 100vw, 1037px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>To apply Kernel Patches in Ubuntu, Register for Ubuntu Live Patch Service by subscribing through the Ubuntu Pro Website, and then install the canonical-livepatch package to patch your Ubuntu Pro Services. Once the Kernel is Patched, you can also use the Advanced tools of Ubuntu Pro to disable or enable any service. This article discusses each step required to apply kernel patches in Ubuntu in detail.<\/p>","protected":false},"excerpt":{"rendered":"<p>Apply Kernel Patches in Ubuntu by Registering for Ubuntu Live Patch Service through the Ubuntu Pro Website, and then installing the canonical-livepatch Package<\/p>","protected":false},"author":110,"featured_media":22582,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22527","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=22527"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22527\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/22582"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=22527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=22527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=22527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}