How To Install python-pcp.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-pcp.x86_64 on Amazon Linux 2.
What is python-pcp.x86_64
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 Python.
We can use yum to install python-pcp.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-pcp.x86_64.
Install python-pcp.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python-pcp.x86_64 using yum by running the following command:
sudo yum -y install python-pcp.x86_64
How To Uninstall python-pcp.x86_64 on Amazon Linux 2
To uninstall only the python-pcp.x86_64 package we can use the following command:
sudo yum remove python-pcp.x86_64
python-pcp.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/cmmv.so
/usr/lib64/python2.7/site-packages/cpmapi.so
/usr/lib64/python2.7/site-packages/cpmda.so
/usr/lib64/python2.7/site-packages/cpmgui.so
/usr/lib64/python2.7/site-packages/cpmi.so
/usr/lib64/python2.7/site-packages/pcp
/usr/lib64/python2.7/site-packages/pcp-4.1-py2.7.egg-info
/usr/lib64/python2.7/site-packages/pcp/__init__.py
/usr/lib64/python2.7/site-packages/pcp/__init__.pyc
/usr/lib64/python2.7/site-packages/pcp/__init__.pyo
/usr/lib64/python2.7/site-packages/pcp/mmv.py
/usr/lib64/python2.7/site-packages/pcp/mmv.pyc
/usr/lib64/python2.7/site-packages/pcp/mmv.pyo
/usr/lib64/python2.7/site-packages/pcp/pmapi.py
/usr/lib64/python2.7/site-packages/pcp/pmapi.pyc
/usr/lib64/python2.7/site-packages/pcp/pmapi.pyo
/usr/lib64/python2.7/site-packages/pcp/pmcc.py
/usr/lib64/python2.7/site-packages/pcp/pmcc.pyc
/usr/lib64/python2.7/site-packages/pcp/pmcc.pyo
/usr/lib64/python2.7/site-packages/pcp/pmconfig.py
/usr/lib64/python2.7/site-packages/pcp/pmconfig.pyc
/usr/lib64/python2.7/site-packages/pcp/pmconfig.pyo
/usr/lib64/python2.7/site-packages/pcp/pmda.py
/usr/lib64/python2.7/site-packages/pcp/pmda.pyc
/usr/lib64/python2.7/site-packages/pcp/pmda.pyo
/usr/lib64/python2.7/site-packages/pcp/pmgui.py
/usr/lib64/python2.7/site-packages/pcp/pmgui.pyc
/usr/lib64/python2.7/site-packages/pcp/pmgui.pyo
/usr/lib64/python2.7/site-packages/pcp/pmi.py
/usr/lib64/python2.7/site-packages/pcp/pmi.pyc
/usr/lib64/python2.7/site-packages/pcp/pmi.pyo
References
Summary
In this tutorial we learn how to install python-pcp.x86_64 on Amazon Linux 2 using yum.