How To Install papi on Fedora 36

In this tutorial we learn how to install papi in Fedora 36. papi is Performance Application Programming Interface

Introduction

In this tutorial we learn how to install papi on Fedora 36.

What is papi

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

We can use yum or dnf to install papi on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install papi.

Install papi on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install papi using dnf by running the following command:

sudo dnf -y install papi

Install papi on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install papi using yum by running the following command:

sudo yum -y install papi

How To Uninstall papi on Fedora 36

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

sudo dnf remove papi

papi Package Contents on Fedora 36

/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_hl_output_writer.py
/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/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/1dc24e929b9abb0b7d4c9b9c780892f2f28a7e
/usr/lib/.build-id/53
/usr/lib/.build-id/53/0be57bd28b54cdfa12ebda314be3404a9de11f
/usr/lib/.build-id/58
/usr/lib/.build-id/58/a1568ae2865a993e41b79f08dcbe46712b5725
/usr/lib/.build-id/67
/usr/lib/.build-id/67/d3f52b89230781afe91f753c2fea2e8fa855e6
/usr/lib/.build-id/75
/usr/lib/.build-id/75/f11d5794dc786c8f70b4390fa8afb4cbb2ce1e
/usr/lib/.build-id/80
/usr/lib/.build-id/80/99ceb8456c759e281c4ab0cb28d7b46290b1b2
/usr/lib/.build-id/81
/usr/lib/.build-id/81/2425c4293931863356dd8e90d49e861ec6e2d6
/usr/lib/.build-id/88
/usr/lib/.build-id/88/7bf8a6e3230bbe0e8fa2eebb17e3a75b1980e6
/usr/lib/.build-id/98
/usr/lib/.build-id/98/2e47c5f72c89846717fdd6efbb17a658d86d92
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/ecadbf3be55b864a56af3225a5375a155dfdc5
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/b8a77f86f710895e32bb7f4f01728c09bf708a
/usr/lib/.build-id/de
/usr/lib/.build-id/de/03f7da1b256103383247cab6cefa7ca5bb0af5
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ab6581a2ec942933328ae7eae91a8fed2289c5
/usr/share/doc/papi
/usr/share/doc/papi/INSTALL.txt
/usr/share/doc/papi/LICENSE.txt
/usr/share/doc/papi/README.md
/usr/share/doc/papi/RELEASENOTES.txt
/usr/share/man/man1/PAPI_derived_event_files.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_hybrid_native_avail.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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).