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

In this tutorial we learn how to install pcp-pmda-sendmail on Rocky Linux 8. pcp-pmda-sendmail is Performance Co-Pilot (PCP) metrics for Sendmail

Introduction

In this tutorial we learn how to install pcp-pmda-sendmail on Rocky Linux 8.

What is pcp-pmda-sendmail

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

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

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

sudo dnf -y install pcp-pmda-sendmail

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

sudo yum -y install pcp-pmda-sendmail

How To Uninstall pcp-pmda-sendmail on Rocky Linux 8

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

sudo dnf remove pcp-pmda-sendmail

pcp-pmda-sendmail Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4d/348d8e9d5d26b1132f24672c1c4385f71c3733
/usr/lib/.build-id/dc/5d2b572c5b8bb6a8274ab833ef931cb5bd182a
/usr/libexec/pcp/pmdas/sendmail
/usr/libexec/pcp/pmdas/sendmail/Install
/usr/libexec/pcp/pmdas/sendmail/README
/usr/libexec/pcp/pmdas/sendmail/Remove
/usr/libexec/pcp/pmdas/sendmail/domain.h
/usr/libexec/pcp/pmdas/sendmail/help
/usr/libexec/pcp/pmdas/sendmail/pmda_sendmail.so
/usr/libexec/pcp/pmdas/sendmail/pmdasendmail
/usr/libexec/pcp/pmdas/sendmail/pmns
/usr/libexec/pcp/pmdas/sendmail/root
/var/lib/pcp/pmdas/sendmail
/var/lib/pcp/pmdas/sendmail/Install
/var/lib/pcp/pmdas/sendmail/README
/var/lib/pcp/pmdas/sendmail/Remove
/var/lib/pcp/pmdas/sendmail/domain.h
/var/lib/pcp/pmdas/sendmail/help
/var/lib/pcp/pmdas/sendmail/pmda_sendmail.so
/var/lib/pcp/pmdas/sendmail/pmdasendmail
/var/lib/pcp/pmdas/sendmail/pmns
/var/lib/pcp/pmdas/sendmail/root

References

Summary

In this tutorial we learn how to install pcp-pmda-sendmail on Rocky Linux 8 using yum and dnf.