How To Install libpfm.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpfm.i686 on Amazon Linux 2.
What is libpfm.i686
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.
We can use yum to install libpfm.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpfm.i686.
Install libpfm.i686 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 libpfm.i686 using yum by running the following command:
sudo yum -y install libpfm.i686
How To Uninstall libpfm.i686 on Amazon Linux 2
To uninstall only the libpfm.i686 package we can use the following command:
sudo yum remove libpfm.i686
libpfm.i686 Package Contents on Amazon Linux 2
/usr/lib/libpfm.so.4
/usr/lib/libpfm.so.4.7.0
/usr/share/doc/libpfm-4.7.0
/usr/share/doc/libpfm-4.7.0/README
References
Summary
In this tutorial we learn how to install libpfm.i686 on Amazon Linux 2 using yum.