How To Install pcp-pmda-weblog on Fedora 36

In this tutorial we learn how to install pcp-pmda-weblog in Fedora 36. pcp-pmda-weblog is Performance Co-Pilot (PCP) metrics from web server logs

Introduction

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

What is pcp-pmda-weblog

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about web server logs.

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

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

sudo dnf -y install pcp-pmda-weblog

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

sudo yum -y install pcp-pmda-weblog

How To Uninstall pcp-pmda-weblog on Fedora 36

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

sudo dnf remove pcp-pmda-weblog

pcp-pmda-weblog Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/61/23d655501f3e9220f8e4ae78300642fb9a9124
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/76cc04bc2349df087efe73551b09fd2df02bb2
/usr/lib/tmpfiles.d/pcp-pmda-weblog.conf
/usr/libexec/pcp/pmdas/weblog
/usr/libexec/pcp/pmdas/weblog/Install
/usr/libexec/pcp/pmdas/weblog/README
/usr/libexec/pcp/pmdas/weblog/Remove
/usr/libexec/pcp/pmdas/weblog/check_match
/usr/libexec/pcp/pmdas/weblog/domain.h
/usr/libexec/pcp/pmdas/weblog/help
/usr/libexec/pcp/pmdas/weblog/pmdaweblog
/usr/libexec/pcp/pmdas/weblog/pmns
/usr/libexec/pcp/pmdas/weblog/root
/usr/libexec/pcp/pmdas/weblog/server.sh
/usr/libexec/pcp/pmdas/weblog/weblogconv.sh
/var/lib/pcp/pmdas/weblog
/var/lib/pcp/pmdas/weblog/Install
/var/lib/pcp/pmdas/weblog/README
/var/lib/pcp/pmdas/weblog/Remove
/var/lib/pcp/pmdas/weblog/check_match
/var/lib/pcp/pmdas/weblog/domain.h
/var/lib/pcp/pmdas/weblog/help
/var/lib/pcp/pmdas/weblog/pmdaweblog
/var/lib/pcp/pmdas/weblog/pmns
/var/lib/pcp/pmdas/weblog/root
/var/lib/pcp/pmdas/weblog/server.sh
/var/lib/pcp/pmdas/weblog/weblogconv.sh

References

Summary

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