How To Install papi.x86_64 on Amazon Linux 2

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

Introduction

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

What is papi.x86_64

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

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

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

sudo yum -y install papi.x86_64

How To Uninstall papi.x86_64 on Amazon Linux 2

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

sudo yum remove papi.x86_64

papi.x86_64 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/lib64/libpapi.so.5
/usr/lib64/libpapi.so.5.2.0
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.