How To Install pcp-pmda-docker on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcp-pmda-docker
on Rocky Linux 8.
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 Rocky Linux 8. 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 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-docker
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-docker
Install pcp-pmda-docker 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-docker
using yum
by running the following command:
sudo yum -y install pcp-pmda-docker
How To Uninstall pcp-pmda-docker on Rocky Linux 8
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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/15f754cfced80a74a1bd56a4b9e43b06409a13
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/b56be8d1b3d0fd9d0e4f01e74cb0ed1e2b09db
/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 Rocky Linux 8 using yum and dnf.