How To Install pcp-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pcp-devel.x86_64 in Amazon Linux 2. pcp-devel.x86_64 is Performance Co-Pilot (PCP) development tools and documentation

Introduction

In this tutorial we learn how to install pcp-devel.x86_64 on Amazon Linux 2.

What is pcp-devel.x86_64

Performance Co-Pilot (PCP) documentation and tools for development.

We can use yum to install pcp-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-devel.x86_64.

Install pcp-devel.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 pcp-devel.x86_64 using yum by running the following command:

sudo yum -y install pcp-devel.x86_64

How To Uninstall pcp-devel.x86_64 on Amazon Linux 2

To uninstall only the pcp-devel.x86_64 package we can use the following command:

sudo yum remove pcp-devel.x86_64

pcp-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/genpmda
/usr/bin/pmclient
/usr/bin/pmclient_fg
/usr/bin/pmdbg
/usr/bin/pmerr
/usr/share/pcp/demos/json
/usr/share/pcp/demos/json/Makefile
/usr/share/pcp/demos/json/README
/usr/share/pcp/demos/json/acme_json.c
/usr/share/pcp/demos/mmv
/usr/share/pcp/demos/mmv/Makefile
/usr/share/pcp/demos/mmv/README
/usr/share/pcp/demos/mmv/acme.c
/usr/share/pcp/demos/mmv/mmvdump.c
/usr/share/pcp/demos/pmclient
/usr/share/pcp/demos/pmclient/Makefile
/usr/share/pcp/demos/pmclient/README
/usr/share/pcp/demos/pmclient/pmclient.c
/usr/share/pcp/demos/pmclient/pmclient_fg.c
/usr/share/pcp/demos/pmclient/pmclient_fg.python
/usr/share/pcp/demos/pmclient/pmlogger.config
/usr/share/pcp/demos/pmclient/pmnsmap.spec
/usr/share/pcp/demos/procmemstat
/usr/share/pcp/demos/procmemstat/Makefile
/usr/share/pcp/demos/procmemstat/README
/usr/share/pcp/demos/procmemstat/pmnsmap.spec
/usr/share/pcp/demos/procmemstat/procmemstat.c
/usr/share/pcp/demos/trace
/usr/share/pcp/demos/trace/Makefile
/usr/share/pcp/demos/trace/Makefile.stub
/usr/share/pcp/demos/trace/README
/usr/share/pcp/demos/trace/app1.c
/usr/share/pcp/demos/trace/app2.c
/usr/share/pcp/demos/trace/app3.c
/usr/share/pcp/demos/trace/fapp1.f
/usr/share/pcp/demos/trace/japp1.java
/usr/share/pcp/demos/trace/pmtrace.c
/usr/share/pcp/demos/trace/stub.c
/usr/share/pcp/examples
/usr/share/pcp/examples/pcp2spark
/usr/share/pcp/examples/pcp2spark/PCP2SparkStreamCollector.python
/usr/share/pcp/examples/pcp2spark/README.md
/usr/share/pcp/examples/pmie
/usr/share/pcp/examples/pmie/CPU
/usr/share/pcp/examples/pmie/DISK
/usr/share/pcp/examples/pmie/ENVIRON
/usr/share/pcp/examples/pmie/FILESYS
/usr/share/pcp/examples/pmie/NETWORK
/usr/share/pcp/examples/pmie/RAS
/usr/share/pcp/examples/pmie/README
/usr/share/pcp/examples/pmie/SWAP
/usr/share/pcp/examples/pmie/UAG
/usr/share/pcp/examples/pmie/UPM
/usr/share/pcp/examples/pmie/WEBREPORT
/var/lib/pcp/pmdas/sample
/var/lib/pcp/pmdas/sample/Install
/var/lib/pcp/pmdas/sample/Makefile
/var/lib/pcp/pmdas/sample/README
/var/lib/pcp/pmdas/sample/Remove
/var/lib/pcp/pmdas/sample/domain.h
/var/lib/pcp/pmdas/sample/events.c
/var/lib/pcp/pmdas/sample/events.h
/var/lib/pcp/pmdas/sample/help
/var/lib/pcp/pmdas/sample/libpcp.h
/var/lib/pcp/pmdas/sample/percontext.c
/var/lib/pcp/pmdas/sample/percontext.h
/var/lib/pcp/pmdas/sample/pmda.c
/var/lib/pcp/pmdas/sample/pmda_sample.so
/var/lib/pcp/pmdas/sample/pmdasample
/var/lib/pcp/pmdas/sample/pmns
/var/lib/pcp/pmdas/sample/root
/var/lib/pcp/pmdas/sample/sample.c
/var/lib/pcp/pmdas/simple
/var/lib/pcp/pmdas/simple/Install
/var/lib/pcp/pmdas/simple/Makefile
/var/lib/pcp/pmdas/simple/README
/var/lib/pcp/pmdas/simple/Remove
/var/lib/pcp/pmdas/simple/domain.h
/var/lib/pcp/pmdas/simple/help
/var/lib/pcp/pmdas/simple/pmdasimple.perl
/var/lib/pcp/pmdas/simple/pmdasimple.python
/var/lib/pcp/pmdas/simple/pmns
/var/lib/pcp/pmdas/simple/root
/var/lib/pcp/pmdas/simple/simple.c
/var/lib/pcp/pmdas/simple/simple.conf
/var/lib/pcp/pmdas/trivial
/var/lib/pcp/pmdas/trivial/Install
/var/lib/pcp/pmdas/trivial/Makefile
/var/lib/pcp/pmdas/trivial/README
/var/lib/pcp/pmdas/trivial/Remove
/var/lib/pcp/pmdas/trivial/domain.h
/var/lib/pcp/pmdas/trivial/help
/var/lib/pcp/pmdas/trivial/pmdatrivial.perl
/var/lib/pcp/pmdas/trivial/pmdatrivial.python
/var/lib/pcp/pmdas/trivial/pmns
/var/lib/pcp/pmdas/trivial/root
/var/lib/pcp/pmdas/trivial/trivial.c
/var/lib/pcp/pmdas/txmon
/var/lib/pcp/pmdas/txmon/Install
/var/lib/pcp/pmdas/txmon/Makefile
/var/lib/pcp/pmdas/txmon/README
/var/lib/pcp/pmdas/txmon/Remove
/var/lib/pcp/pmdas/txmon/domain.h
/var/lib/pcp/pmdas/txmon/genload
/var/lib/pcp/pmdas/txmon/help
/var/lib/pcp/pmdas/txmon/pmns
/var/lib/pcp/pmdas/txmon/root
/var/lib/pcp/pmdas/txmon/txmon.c
/var/lib/pcp/pmdas/txmon/txmon.h
/var/lib/pcp/pmdas/txmon/txrecord.c

References

Summary

In this tutorial we learn how to install pcp-devel.x86_64 on Amazon Linux 2 using yum.