How To Install python3-pcp on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pcp
on Rocky Linux 8.
What is python3-pcp
This python PCP module contains the language bindings for Performance Metric API (PMAPI) monitor tools and Performance Metric Domain Agent (PMDA) collector tools written in Python3.
We can use yum
or dnf
to install python3-pcp
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pcp.
Install python3-pcp 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 python3-pcp
using dnf
by running the following command:
sudo dnf -y install python3-pcp
Install python3-pcp 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 python3-pcp
using yum
by running the following command:
sudo yum -y install python3-pcp
How To Uninstall python3-pcp on Rocky Linux 8
To uninstall only the python3-pcp
package we can use the following command:
sudo dnf remove python3-pcp
python3-pcp Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/3be2ad8f40eab6355456844f3da55056c92f95
/usr/lib/.build-id/44
/usr/lib/.build-id/44/017ec0955e91c6584fa1245b239e69afc2239a
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/66ecdbef79f9181a3df75a3737edd00b900e9c
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/b557947566c1fd63079de9fa0e4ab92614f248
/usr/lib/.build-id/b9/2299bc2a9377dbf8892f141f7c79a2febf9150
/usr/lib64/python3.6/site-packages/cmmv.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/cpmapi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/cpmda.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/cpmgui.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/cpmi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pcp
/usr/lib64/python3.6/site-packages/pcp-5.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pcp-5.0-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pcp-5.0-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pcp-5.0-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pcp-5.0-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/pcp/__init__.py
/usr/lib64/python3.6/site-packages/pcp/__pycache__
/usr/lib64/python3.6/site-packages/pcp/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/__init__.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/mmv.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/mmv.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/mmv.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmapi.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmapi.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmapi.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmcc.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmcc.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmcc.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmconfig.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmconfig.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmconfig.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmda.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmda.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmda.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmgui.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmgui.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmgui.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmi.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmi.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pcp/__pycache__/pmi.cpython-36.pyo
/usr/lib64/python3.6/site-packages/pcp/mmv.py
/usr/lib64/python3.6/site-packages/pcp/pmapi.py
/usr/lib64/python3.6/site-packages/pcp/pmcc.py
/usr/lib64/python3.6/site-packages/pcp/pmconfig.py
/usr/lib64/python3.6/site-packages/pcp/pmda.py
/usr/lib64/python3.6/site-packages/pcp/pmgui.py
/usr/lib64/python3.6/site-packages/pcp/pmi.py
References
Summary
In this tutorial we learn how to install python3-pcp
on Rocky Linux 8 using yum and dnf.