How To Install pcp-pmda-podman on Rocky Linux 8

In this tutorial we learn how to install pcp-pmda-podman on Rocky Linux 8. 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 Rocky Linux 8.

What is pcp-pmda-podman

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

We can use yum or dnf to install pcp-pmda-podman on Rocky Linux 8. 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 Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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 Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/ac50a2011a444afe64824dc0436d40e87a96c2
/usr/lib/.build-id/85
/usr/lib/.build-id/85/a6d4cb552f7ff15e8ead60b3638d18a404da20
/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 Rocky Linux 8 using yum and dnf.