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

Last updated: October 06,2024

1. Install "libpfm.x86_64" package

This tutorial shows how to install libpfm.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libpfm.x86_64

2. Uninstall "libpfm.x86_64" package

In this section, we are going to explain the necessary steps to uninstall libpfm.x86_64 on Amazon Linux 2:

$ sudo yum remove libpfm.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : libpfm
Arch : x86_64
Version : 4.7.0
Release : 10.amzn2
Size : 257 k
Repo : amzn2-core/2/x86_64
Summary : Library to encode performance events for use by perf tool
URL : http://perfmon2.sourceforge.net/
License : MIT
Description :
: libpfm4 is a library to help encode events for use with operating
: system kernels performance monitoring interfaces. The current
: version provides support for the perf_events interface available
: in upstream Linux kernels since v2.6.31.