How To Install pcp-pmda-bash on Fedora 36
Introduction
In this tutorial we learn how to install pcp-pmda-bash
on Fedora 36.
What is pcp-pmda-bash
This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the Bash shell.
We can use yum
or dnf
to install pcp-pmda-bash
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-bash.
Install pcp-pmda-bash 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-bash
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-bash
Install pcp-pmda-bash 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-bash
using yum
by running the following command:
sudo yum -y install pcp-pmda-bash
How To Uninstall pcp-pmda-bash on Fedora 36
To uninstall only the pcp-pmda-bash
package we can use the following command:
sudo dnf remove pcp-pmda-bash
pcp-pmda-bash Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/b9/d2c20003bcb610def0f2cf03b1661f387a98b6
/usr/lib/tmpfiles.d/pcp-pmda-bash.conf
/usr/libexec/pcp/pmdas/bash
/usr/libexec/pcp/pmdas/bash/Install
/usr/libexec/pcp/pmdas/bash/Remove
/usr/libexec/pcp/pmdas/bash/domain.h
/usr/libexec/pcp/pmdas/bash/help
/usr/libexec/pcp/pmdas/bash/pmdabash
/usr/libexec/pcp/pmdas/bash/pmns
/usr/libexec/pcp/pmdas/bash/root
/usr/libexec/pcp/pmdas/bash/test-child.sh
/usr/libexec/pcp/pmdas/bash/test-trace.sh
/var/lib/pcp/pmdas/bash
/var/lib/pcp/pmdas/bash/Install
/var/lib/pcp/pmdas/bash/Remove
/var/lib/pcp/pmdas/bash/domain.h
/var/lib/pcp/pmdas/bash/help
/var/lib/pcp/pmdas/bash/pmdabash
/var/lib/pcp/pmdas/bash/pmns
/var/lib/pcp/pmdas/bash/root
/var/lib/pcp/pmdas/bash/test-child.sh
/var/lib/pcp/pmdas/bash/test-trace.sh
References
Summary
In this tutorial we learn how to install pcp-pmda-bash
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).