How To Install papi on Fedora 34
Introduction
In this tutorial we learn how to install papi
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install papi.
Install papi on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install papi
using dnf
by running the following command:
sudo dnf -y install papi
Install papi on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the papi
package we can use the following command:
sudo dnf remove papi
papi Package Contents on Fedora 34
/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/2e
/usr/lib/.build-id/2e/28b204b6f63dfa858ccba6550edfa57e2e6807
/usr/lib/.build-id/33
/usr/lib/.build-id/33/4f41bddfc33865bf3c40765a8d4aea99200598
/usr/lib/.build-id/48
/usr/lib/.build-id/48/baf8e9d2c15f9ec77ec1cce85eed74ad055d92
/usr/lib/.build-id/82
/usr/lib/.build-id/82/623a235aac62d9461d8da1cb82d74737dd0448
/usr/lib/.build-id/85
/usr/lib/.build-id/85/e21c10794900a8a4c4d0dcc2d37f3b809dd1b3
/usr/lib/.build-id/92
/usr/lib/.build-id/92/1228252b063b196e4c2d2bfd7779de80109662
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/23bc33812f12bf8e3ca1afaa8caaa29c0c22d0
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/6c16d910198f4ef34c6c20d5bc08ee8a781dc9
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/da5bcb56d94dc410f98517093f170d5bdd1af1
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/04cc18a301433dc010906c31d710d2c5155393
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/5dd51e64558a327bde5f223faea790acb585a3
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/de38d0fec42a7ee0caf5e21b51c6e02636aa1f
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/39dcea8fd4bce50d6c847399c7b171f869bcfa
/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 34 using yum and dnf.