How To Install pcp-pmda-docker on Fedora 36

In this tutorial we learn how to install pcp-pmda-docker in Fedora 36. pcp-pmda-docker is Performance Co-Pilot (PCP) metrics from the Docker daemon

Introduction

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

What is pcp-pmda-docker

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics using the Docker daemon REST API.

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

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

sudo dnf -y install pcp-pmda-docker

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

sudo yum -y install pcp-pmda-docker

How To Uninstall pcp-pmda-docker on Fedora 36

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

sudo dnf remove pcp-pmda-docker

pcp-pmda-docker Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/9f0999e37a4f4377668642643278d2aa7d5cda
/usr/lib/.build-id/84
/usr/lib/.build-id/84/6dfd544cbd12588e60bfa241241031885c9b5d
/usr/lib/tmpfiles.d/pcp-pmda-docker.conf
/usr/libexec/pcp/pmdas/docker
/usr/libexec/pcp/pmdas/docker/Install
/usr/libexec/pcp/pmdas/docker/Remove
/usr/libexec/pcp/pmdas/docker/domain.h
/usr/libexec/pcp/pmdas/docker/help
/usr/libexec/pcp/pmdas/docker/pmda_docker.so
/usr/libexec/pcp/pmdas/docker/pmdadocker
/usr/libexec/pcp/pmdas/docker/pmns
/usr/libexec/pcp/pmdas/docker/root
/var/lib/pcp/pmdas/docker
/var/lib/pcp/pmdas/docker/Install
/var/lib/pcp/pmdas/docker/Remove
/var/lib/pcp/pmdas/docker/domain.h
/var/lib/pcp/pmdas/docker/help
/var/lib/pcp/pmdas/docker/pmda_docker.so
/var/lib/pcp/pmdas/docker/pmdadocker
/var/lib/pcp/pmdas/docker/pmns
/var/lib/pcp/pmdas/docker/root

References

Summary

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