How To Install pcp-webjs.noarch on Amazon Linux 2

In this tutorial we learn how to install pcp-webjs.noarch in Amazon Linux 2. pcp-webjs.noarch is Performance Co-Pilot (PCP) web applications

Introduction

In this tutorial we learn how to install pcp-webjs.noarch on Amazon Linux 2.

What is pcp-webjs.noarch

Javascript web application content for the Performance Co-Pilot (PCP) web service.

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

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

sudo yum -y install pcp-webjs.noarch

How To Uninstall pcp-webjs.noarch on Amazon Linux 2

To uninstall only the pcp-webjs.noarch package we can use the following command:

sudo yum remove pcp-webjs.noarch

pcp-webjs.noarch Package Contents on Amazon Linux 2

/usr/share/pcp
/usr/share/pcp/webapps
/usr/share/pcp/webapps/blinkenlights.png
/usr/share/pcp/webapps/favicon.ico
/usr/share/pcp/webapps/grafana1.png
/usr/share/pcp/webapps/grafana2.png
/usr/share/pcp/webapps/graphite.png
/usr/share/pcp/webapps/index.html
/usr/share/pcp/webapps/vector.png

References

Summary

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