How To Install pcp-webapi.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install pcp-webapi.x86_64
on Amazon Linux 2.
What is pcp-webapi.x86_64
Provides a daemon (pmwebd) that binds a large subset of the Performance Co-Pilot (PCP) client API (PMAPI) to RESTful web applications using the HTTP (PMWEBAPI) protocol.
We can use yum
to install pcp-webapi.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-webapi.x86_64.
Install pcp-webapi.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-webapi.x86_64
using yum
by running the following command:
sudo yum -y install pcp-webapi.x86_64
How To Uninstall pcp-webapi.x86_64 on Amazon Linux 2
To uninstall only the pcp-webapi.x86_64
package we can use the following command:
sudo yum remove pcp-webapi.x86_64
pcp-webapi.x86_64 Package Contents on Amazon Linux 2
/etc/pcp/pmwebd
/etc/pcp/pmwebd/pmwebd.options
/usr/lib/systemd/system/pmwebd.service
/usr/libexec/pcp/bin/pmwebd
/usr/share/pcp
/usr/share/pcp/lib/pmwebd
/usr/share/pcp/webapps
/var/log/pcp/pmwebd
References
Summary
In this tutorial we learn how to install pcp-webapi.x86_64
on Amazon Linux 2 using yum.