How to Install and Uninstall kernel.x86_64 Package on Amazon Linux 2

Last updated: May 18,2024

1. Install "kernel.x86_64" package

Please follow the guidelines below to install kernel.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install kernel.x86_64

2. Uninstall "kernel.x86_64" package

Please follow the step by step instructions below to uninstall kernel.x86_64 on Amazon Linux 2:

$ sudo yum remove kernel.x86_64 $ sudo yum autoremove

3. Information about the kernel.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : kernel
Arch : x86_64
Version : 4.14.275
Release : 207.503.amzn2
Size : 21 M
Repo : amzn2-core/2/x86_64
Summary : The Linux kernel
URL : http://www.kernel.org/
License : GPLv2 and Redistributable, no modification permitted
Description : The kernel package contains the Linux kernel (vmlinuz), the core
: of any Linux operating system. The kernel handles the basic
: functions of the operating system: memory allocation, process
: allocation, device input and output, etc.