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

Last updated: May 18,2024

1. Install "kernel-headers.x86_64" package

Please follow the step by step instructions below to install kernel-headers.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install kernel-headers.x86_64

2. Uninstall "kernel-headers.x86_64" package

Please follow the guidelines below to uninstall kernel-headers.x86_64 on Amazon Linux 2:

$ sudo yum remove kernel-headers.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : kernel-headers
Arch : x86_64
Version : 4.14.275
Release : 207.503.amzn2
Size : 1.2 M
Repo : amzn2-core/2/x86_64
Summary : Header files for the Linux kernel for use by glibc
URL : http://www.kernel.org/
License : GPLv2 and Redistributable, no modification permitted
Description : Kernel-headers includes the C header files that specify the
: interface between the Linux kernel and userspace libraries and
: programs. The header files define structures and constants that
: are needed for building most standard programs and are also needed
: for rebuilding the glibc package.