How To Install pcp-pmda-mailq on Fedora 36

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

Introduction

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

What is pcp-pmda-mailq

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about email queues managed by sendmail.

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

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

sudo dnf -y install pcp-pmda-mailq

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

sudo yum -y install pcp-pmda-mailq

How To Uninstall pcp-pmda-mailq on Fedora 36

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

sudo dnf remove pcp-pmda-mailq

pcp-pmda-mailq Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b1/67e07f10bcb21558cad2c08652ab39137f3d84
/usr/lib/tmpfiles.d/pcp-pmda-mailq.conf
/usr/libexec/pcp/pmdas/mailq
/usr/libexec/pcp/pmdas/mailq/Install
/usr/libexec/pcp/pmdas/mailq/README
/usr/libexec/pcp/pmdas/mailq/Remove
/usr/libexec/pcp/pmdas/mailq/domain.h
/usr/libexec/pcp/pmdas/mailq/help
/usr/libexec/pcp/pmdas/mailq/pmdamailq
/usr/libexec/pcp/pmdas/mailq/pmns
/usr/libexec/pcp/pmdas/mailq/root
/var/lib/pcp/pmdas/mailq
/var/lib/pcp/pmdas/mailq/Install
/var/lib/pcp/pmdas/mailq/README
/var/lib/pcp/pmdas/mailq/Remove
/var/lib/pcp/pmdas/mailq/domain.h
/var/lib/pcp/pmdas/mailq/help
/var/lib/pcp/pmdas/mailq/pmdamailq
/var/lib/pcp/pmdas/mailq/pmns
/var/lib/pcp/pmdas/mailq/root

References

Summary

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