How To Install pcp-pmda-bpf on Fedora 36
Introduction
In this tutorial we learn how to install pcp-pmda-bpf
on Fedora 36.
What is pcp-pmda-bpf
This package contains the PCP Performance Metrics Domain Agent (PMDA) for extracting performance metrics from eBPF ELF modules.
We can use yum
or dnf
to install pcp-pmda-bpf
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-bpf.
Install pcp-pmda-bpf 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 pcp-pmda-bpf
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-bpf
Install pcp-pmda-bpf 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 pcp-pmda-bpf
using yum
by running the following command:
sudo yum -y install pcp-pmda-bpf
How To Uninstall pcp-pmda-bpf on Fedora 36
To uninstall only the pcp-pmda-bpf
package we can use the following command:
sudo dnf remove pcp-pmda-bpf
pcp-pmda-bpf Package Contents on Fedora 36
/etc/pcp/bpf
/etc/pcp/bpf/bpf.conf
/usr/lib/.build-id
/usr/lib/.build-id/4c/fb242dc75b43d1d388331c9bc8a3cf82898625
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/43aa89ee1ed8bf714024fbc1692443457ff622
/usr/lib/tmpfiles.d/pcp-pmda-bpf.conf
/usr/libexec/pcp/pmdas/bpf
/usr/libexec/pcp/pmdas/bpf/Install
/usr/libexec/pcp/pmdas/bpf/Remove
/usr/libexec/pcp/pmdas/bpf/domain.h
/usr/libexec/pcp/pmdas/bpf/modules
/usr/libexec/pcp/pmdas/bpf/modules/biolatency.so
/usr/libexec/pcp/pmdas/bpf/modules/runqlat.so
/usr/libexec/pcp/pmdas/bpf/pmda_bpf.so
/usr/libexec/pcp/pmdas/bpf/pmdabpf
/usr/libexec/pcp/pmdas/bpf/root_bpf
/var/lib/pcp/pmdas/bpf
/var/lib/pcp/pmdas/bpf/Install
/var/lib/pcp/pmdas/bpf/Remove
/var/lib/pcp/pmdas/bpf/bpf.conf
/var/lib/pcp/pmdas/bpf/domain.h
/var/lib/pcp/pmdas/bpf/modules
/var/lib/pcp/pmdas/bpf/modules/biolatency.so
/var/lib/pcp/pmdas/bpf/modules/runqlat.so
/var/lib/pcp/pmdas/bpf/pmda_bpf.so
/var/lib/pcp/pmdas/bpf/pmdabpf
/var/lib/pcp/pmdas/bpf/root_bpf
References
Summary
In this tutorial we learn how to install pcp-pmda-bpf
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).