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

Last updated: January 10,2025

1. Install "perf.x86_64" package

Please follow the step by step instructions below to install perf.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install perf.x86_64

2. Uninstall "perf.x86_64" package

Please follow the guidelines below to uninstall perf.x86_64 on Amazon Linux 2:

$ sudo yum remove perf.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : perf
Arch : x86_64
Version : 4.14.275
Release : 207.503.amzn2
Size : 1.6 M
Repo : amzn2-core/2/x86_64
Summary : Performance monitoring for the Linux kernel
URL : http://www.kernel.org/
License : GPLv2
Description : This package contains the perf tool, which enables performance
: monitoring of the Linux kernel.