How To Install kernel-tools-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install kernel-tools-devel.x86_64 in Amazon Linux 2. kernel-tools-devel.x86_64 is Assortment of tools for the Linux kernel

Introduction

In this tutorial we learn how to install kernel-tools-devel.x86_64 on Amazon Linux 2.

What is kernel-tools-devel.x86_64

This package contains the development files for the tools/ directory from the kernel source.

We can use yum to install kernel-tools-devel.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-tools-devel.x86_64.

Install kernel-tools-devel.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-tools-devel.x86_64 using yum by running the following command:

sudo yum -y install kernel-tools-devel.x86_64

How To Uninstall kernel-tools-devel.x86_64 on Amazon Linux 2

To uninstall only the kernel-tools-devel.x86_64 package we can use the following command:

sudo yum remove kernel-tools-devel.x86_64

kernel-tools-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/cpufreq.h
/usr/lib64/libcpupower.so

References

Summary

In this tutorial we learn how to install kernel-tools-devel.x86_64 on Amazon Linux 2 using yum.