How To Install pcp-pmda-apache on Fedora 36

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

Introduction

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

What is pcp-pmda-apache

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Apache webserver.

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

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

sudo dnf -y install pcp-pmda-apache

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

sudo yum -y install pcp-pmda-apache

How To Uninstall pcp-pmda-apache on Fedora 36

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

sudo dnf remove pcp-pmda-apache

pcp-pmda-apache Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/cd24fa9bb8c3d6b9f36c462b34b6d2147adcdc
/usr/lib/tmpfiles.d/pcp-pmda-apache.conf
/usr/libexec/pcp/pmdas/apache
/usr/libexec/pcp/pmdas/apache/Install
/usr/libexec/pcp/pmdas/apache/README
/usr/libexec/pcp/pmdas/apache/Remove
/usr/libexec/pcp/pmdas/apache/domain.h
/usr/libexec/pcp/pmdas/apache/help
/usr/libexec/pcp/pmdas/apache/pmdaapache
/usr/libexec/pcp/pmdas/apache/pmns
/usr/libexec/pcp/pmdas/apache/root
/var/lib/pcp/pmdas/apache
/var/lib/pcp/pmdas/apache/Install
/var/lib/pcp/pmdas/apache/README
/var/lib/pcp/pmdas/apache/Remove
/var/lib/pcp/pmdas/apache/domain.h
/var/lib/pcp/pmdas/apache/help
/var/lib/pcp/pmdas/apache/pmdaapache
/var/lib/pcp/pmdas/apache/pmns
/var/lib/pcp/pmdas/apache/root

References

Summary

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