How To Install papi.i686 on Amazon Linux 2

In this tutorial we learn how to install papi.i686 in Amazon Linux 2. papi.i686 is Performance Application Programming Interface

Introduction

In this tutorial we learn how to install papi.i686 on Amazon Linux 2.

What is papi.i686

PAPI provides a programmer interface to monitor the performance of running programs.

We can use yum to install papi.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install papi.i686.

Install papi.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 papi.i686 using yum by running the following command:

sudo yum -y install papi.i686

How To Uninstall papi.i686 on Amazon Linux 2

To uninstall only the papi.i686 package we can use the following command:

sudo yum remove papi.i686

papi.i686 Package Contents on Amazon Linux 2

/usr/bin/papi_avail
/usr/bin/papi_clockres
/usr/bin/papi_command_line
/usr/bin/papi_component_avail
/usr/bin/papi_cost
/usr/bin/papi_decode
/usr/bin/papi_error_codes
/usr/bin/papi_event_chooser
/usr/bin/papi_mem_info
/usr/bin/papi_multiplex_cost
/usr/bin/papi_native_avail
/usr/bin/papi_version
/usr/bin/papi_xml_event_info
/usr/lib/libpapi.so.5
/usr/lib/libpapi.so.5.2.0
/usr/lib/libpapi.so.5.2.0.0
/usr/share/doc/papi-5.2.0
/usr/share/doc/papi-5.2.0/INSTALL.txt
/usr/share/doc/papi-5.2.0/LICENSE.txt
/usr/share/doc/papi-5.2.0/README
/usr/share/doc/papi-5.2.0/RELEASENOTES.txt
/usr/share/man/man1/_builddir_build_BUILD_papi-5.2.0_src_.1.gz
/usr/share/man/man1/_builddir_build_BUILD_papi-5.2.0_src_utils_.1.gz
/usr/share/man/man1/papi_avail.1.gz
/usr/share/man/man1/papi_clockres.1.gz
/usr/share/man/man1/papi_command_line.1.gz
/usr/share/man/man1/papi_component_avail.1.gz
/usr/share/man/man1/papi_cost.1.gz
/usr/share/man/man1/papi_decode.1.gz
/usr/share/man/man1/papi_error_codes.1.gz
/usr/share/man/man1/papi_event_chooser.1.gz
/usr/share/man/man1/papi_mem_info.1.gz
/usr/share/man/man1/papi_multiplex_cost.1.gz
/usr/share/man/man1/papi_native_avail.1.gz
/usr/share/man/man1/papi_version.1.gz
/usr/share/man/man1/papi_xml_event_info.1.gz
/usr/share/papi
/usr/share/papi/papi_events.csv

References

Summary

In this tutorial we learn how to install papi.i686 on Amazon Linux 2 using yum.