How To Install kernel-livepatch-4.14.193-149.317.x86_64 on Amazon Linux 2

In this tutorial we learn how to install kernel-livepatch-4.14.193-149.317.x86_64 in Amazon Linux 2. kernel-livepatch-4.14.193-149.317.x86_64 is Livepatches for the Linux Kernel

Introduction

In this tutorial we learn how to install kernel-livepatch-4.14.193-149.317.x86_64 on Amazon Linux 2.

What is kernel-livepatch-4.14.193-149.317.x86_64

This package contains the live patch modules for bug fixes against the version of the kernel. This package contains version 0 (no real livepatches) and helps subscribe to the kernel livepatch updates for the kernel.

We can use yum to install kernel-livepatch-4.14.193-149.317.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install kernel-livepatch-4.14.193-149.317.x86_64.

Install kernel-livepatch-4.14.193-149.317.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install kernel-livepatch-4.14.193-149.317.x86_64 using yum by running the following command:

sudo yum -y install kernel-livepatch-4.14.193-149.317.x86_64

How To Uninstall kernel-livepatch-4.14.193-149.317.x86_64 on Amazon Linux 2

To uninstall only the kernel-livepatch-4.14.193-149.317.x86_64 package we can use the following command:

sudo yum remove kernel-livepatch-4.14.193-149.317.x86_64

kernel-livepatch-4.14.193-149.317.x86_64 Package Contents on Amazon Linux 2

References

Summary

In this tutorial we learn how to install kernel-livepatch-4.14.193-149.317.x86_64 on Amazon Linux 2 using yum.