How To Install pcp-pmda-podman on Fedora 36

In this tutorial we learn how to install pcp-pmda-podman in Fedora 36. pcp-pmda-podman is Performance Co-Pilot (PCP) metrics for podman containers

Introduction

In this tutorial we learn how to install pcp-pmda-podman on Fedora 36.

What is pcp-pmda-podman

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting podman container and pod statistics via the podman REST API.

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

Install pcp-pmda-podman 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-podman using dnf by running the following command:

sudo dnf -y install pcp-pmda-podman

Install pcp-pmda-podman 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-podman using yum by running the following command:

sudo yum -y install pcp-pmda-podman

How To Uninstall pcp-pmda-podman on Fedora 36

To uninstall only the pcp-pmda-podman package we can use the following command:

sudo dnf remove pcp-pmda-podman

pcp-pmda-podman Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/7b31c891823567d633be00baf37eb62e07c004
/usr/lib/.build-id/81
/usr/lib/.build-id/81/971c7684e71b774b0619fd231dba1810d15cc6
/usr/lib/tmpfiles.d/pcp-pmda-podman.conf
/usr/libexec/pcp/pmdas/podman
/usr/libexec/pcp/pmdas/podman/Install
/usr/libexec/pcp/pmdas/podman/Remove
/usr/libexec/pcp/pmdas/podman/domain.h
/usr/libexec/pcp/pmdas/podman/help
/usr/libexec/pcp/pmdas/podman/help.dir
/usr/libexec/pcp/pmdas/podman/help.pag
/usr/libexec/pcp/pmdas/podman/pmda_podman.so
/usr/libexec/pcp/pmdas/podman/pmdapodman
/usr/libexec/pcp/pmdas/podman/root
/usr/libexec/pcp/pmdas/podman/root_podman
/var/lib/pcp/pmdas/podman
/var/lib/pcp/pmdas/podman/Install
/var/lib/pcp/pmdas/podman/Remove
/var/lib/pcp/pmdas/podman/domain.h
/var/lib/pcp/pmdas/podman/help
/var/lib/pcp/pmdas/podman/help.dir
/var/lib/pcp/pmdas/podman/help.pag
/var/lib/pcp/pmdas/podman/pmda_podman.so
/var/lib/pcp/pmdas/podman/pmdapodman
/var/lib/pcp/pmdas/podman/root
/var/lib/pcp/pmdas/podman/root_podman

References

Summary

In this tutorial we learn how to install pcp-pmda-podman on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).