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

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

Introduction

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

What is kernel-tools.x86_64

This package contains the tools/ directory from the kernel source and the supporting documentation.

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

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

sudo yum -y install kernel-tools.x86_64

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

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

sudo yum remove kernel-tools.x86_64

kernel-tools.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/cpupower
/usr/bin/centrino-decode
/usr/bin/cpupower
/usr/bin/powernow-k8-decode
/usr/bin/turbostat
/usr/bin/x86_energy_perf_policy
/usr/lib64/libcpupower.so.0
/usr/lib64/libcpupower.so.0.0.1
/usr/share/locale/cs/LC_MESSAGES/cpupower.mo
/usr/share/locale/de/LC_MESSAGES/cpupower.mo
/usr/share/locale/fr/LC_MESSAGES/cpupower.mo
/usr/share/locale/it/LC_MESSAGES/cpupower.mo
/usr/share/locale/pt/LC_MESSAGES/cpupower.mo
/usr/share/man/man1/cpupower-frequency-info.1.gz
/usr/share/man/man1/cpupower-frequency-set.1.gz
/usr/share/man/man1/cpupower-idle-info.1.gz
/usr/share/man/man1/cpupower-idle-set.1.gz
/usr/share/man/man1/cpupower-info.1.gz
/usr/share/man/man1/cpupower-monitor.1.gz
/usr/share/man/man1/cpupower-set.1.gz
/usr/share/man/man1/cpupower.1.gz
/usr/share/man/man8/turbostat.8.gz
/usr/share/man/man8/x86_energy_perf_policy.8.gz

References

Summary

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