How To Install pcp-webapp-grafana.noarch on Amazon Linux 2

In this tutorial we learn how to install pcp-webapp-grafana.noarch in Amazon Linux 2. pcp-webapp-grafana.noarch is Grafana web application for Performance Co-Pilot (PCP)

Introduction

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

What is pcp-webapp-grafana.noarch

Grafana is an open source, feature rich metrics dashboard and graph editor. This package provides a Grafana that uses the Performance Co-Pilot (PCP) as the data repository. Other Grafana backends are not used. Grafana can render time series dashboards at the browser via flot.js (more interactive, slower, for beefy browsers) or alternately at the server via png (less interactive, faster).

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

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

sudo yum -y install pcp-webapp-grafana.noarch

How To Uninstall pcp-webapp-grafana.noarch on Amazon Linux 2

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

sudo yum remove pcp-webapp-grafana.noarch

pcp-webapp-grafana.noarch Package Contents on Amazon Linux 2

/usr/share/pcp
/usr/share/pcp/webapps
/usr/share/pcp/webapps/grafana
/usr/share/pcp/webapps/grafana/LICENSE.md
/usr/share/pcp/webapps/grafana/NOTICE.md
/usr/share/pcp/webapps/grafana/PATCH-1
/usr/share/pcp/webapps/grafana/README.md
/usr/share/pcp/webapps/grafana/app
/usr/share/pcp/webapps/grafana/app/app.51d42c57.js
/usr/share/pcp/webapps/grafana/app/app.js
/usr/share/pcp/webapps/grafana/app/components
/usr/share/pcp/webapps/grafana/app/components/require.config.js
/usr/share/pcp/webapps/grafana/app/controllers
/usr/share/pcp/webapps/grafana/app/controllers/console-ctrl.js
/usr/share/pcp/webapps/grafana/app/dashboards
/usr/share/pcp/webapps/grafana/app/dashboards/default-png.json
/usr/share/pcp/webapps/grafana/app/dashboards/default.json
/usr/share/pcp/webapps/grafana/app/dashboards/empty.json
/usr/share/pcp/webapps/grafana/app/dashboards/hostselect.js
/usr/share/pcp/webapps/grafana/app/dashboards/multichart-per-instance.js
/usr/share/pcp/webapps/grafana/app/dashboards/multichart.js
/usr/share/pcp/webapps/grafana/app/dashboards/scripted.js
/usr/share/pcp/webapps/grafana/app/dashboards/scripted_async.js
/usr/share/pcp/webapps/grafana/app/dashboards/scripted_gen_and_save.js
/usr/share/pcp/webapps/grafana/app/dashboards/scripted_templated.js
/usr/share/pcp/webapps/grafana/app/dashboards/template_vars.json
/usr/share/pcp/webapps/grafana/app/features
/usr/share/pcp/webapps/grafana/app/features/panellinkeditor
/usr/share/pcp/webapps/grafana/app/features/panellinkeditor/module.html
/usr/share/pcp/webapps/grafana/app/panels
/usr/share/pcp/webapps/grafana/app/panels/graph
/usr/share/pcp/webapps/grafana/app/panels/graph/axisEditor.html
/usr/share/pcp/webapps/grafana/app/panels/graph/legend.popover.html
/usr/share/pcp/webapps/grafana/app/panels/graph/module.html
/usr/share/pcp/webapps/grafana/app/panels/graph/styleEditor.html
/usr/share/pcp/webapps/grafana/app/panels/singlestat
/usr/share/pcp/webapps/grafana/app/panels/singlestat/editor.html
/usr/share/pcp/webapps/grafana/app/panels/singlestat/module.html
/usr/share/pcp/webapps/grafana/app/panels/text
/usr/share/pcp/webapps/grafana/app/panels/text/editor.html
/usr/share/pcp/webapps/grafana/app/panels/text/module.html
/usr/share/pcp/webapps/grafana/app/panels/timepicker
/usr/share/pcp/webapps/grafana/app/panels/timepicker/custom.html
/usr/share/pcp/webapps/grafana/app/panels/timepicker/editor.html
/usr/share/pcp/webapps/grafana/app/panels/timepicker/module.html
/usr/share/pcp/webapps/grafana/app/panels/timepicker/refreshctrl.html
/usr/share/pcp/webapps/grafana/app/partials
/usr/share/pcp/webapps/grafana/app/partials/annotations_editor.html
/usr/share/pcp/webapps/grafana/app/partials/confirm_modal.html
/usr/share/pcp/webapps/grafana/app/partials/console.html
/usr/share/pcp/webapps/grafana/app/partials/dashLoaderShare.html
/usr/share/pcp/webapps/grafana/app/partials/dashboard.html
/usr/share/pcp/webapps/grafana/app/partials/dashboard_topnav.html
/usr/share/pcp/webapps/grafana/app/partials/dasheditor.html
/usr/share/pcp/webapps/grafana/app/partials/edit_json.html
/usr/share/pcp/webapps/grafana/app/partials/elasticsearch
/usr/share/pcp/webapps/grafana/app/partials/elasticsearch/annotation_editor.html
/usr/share/pcp/webapps/grafana/app/partials/graphite
/usr/share/pcp/webapps/grafana/app/partials/graphite/annotation_editor.html
/usr/share/pcp/webapps/grafana/app/partials/graphite/editor.html
/usr/share/pcp/webapps/grafana/app/partials/help_modal.html
/usr/share/pcp/webapps/grafana/app/partials/import.html
/usr/share/pcp/webapps/grafana/app/partials/influxdb
/usr/share/pcp/webapps/grafana/app/partials/influxdb/annotation_editor.html
/usr/share/pcp/webapps/grafana/app/partials/influxdb/editor.html
/usr/share/pcp/webapps/grafana/app/partials/inspector.html
/usr/share/pcp/webapps/grafana/app/partials/loadmetrics.html
/usr/share/pcp/webapps/grafana/app/partials/metrics.html
/usr/share/pcp/webapps/grafana/app/partials/modal.html
/usr/share/pcp/webapps/grafana/app/partials/opentsdb
/usr/share/pcp/webapps/grafana/app/partials/opentsdb/editor.html
/usr/share/pcp/webapps/grafana/app/partials/paneleditor.html
/usr/share/pcp/webapps/grafana/app/partials/panelgeneral.html
/usr/share/pcp/webapps/grafana/app/partials/playlist.html
/usr/share/pcp/webapps/grafana/app/partials/roweditor.html
/usr/share/pcp/webapps/grafana/app/partials/search.html
/usr/share/pcp/webapps/grafana/app/partials/share-panel.html
/usr/share/pcp/webapps/grafana/app/partials/submenu.html
/usr/share/pcp/webapps/grafana/app/partials/templating_editor.html
/usr/share/pcp/webapps/grafana/app/partials/unsaved-changes.html
/usr/share/pcp/webapps/grafana/build.txt
/usr/share/pcp/webapps/grafana/config.js
/usr/share/pcp/webapps/grafana/config.sample.js
/usr/share/pcp/webapps/grafana/css
/usr/share/pcp/webapps/grafana/css/bootstrap-responsive.min.css
/usr/share/pcp/webapps/grafana/css/bootstrap.dark.min.css
/usr/share/pcp/webapps/grafana/css/bootstrap.light.min.css
/usr/share/pcp/webapps/grafana/css/grafana.dark.min.21253ffa.css
/usr/share/pcp/webapps/grafana/css/grafana.dark.min.css
/usr/share/pcp/webapps/grafana/css/grafana.light.min.81a2958f.css
/usr/share/pcp/webapps/grafana/css/grafana.light.min.css
/usr/share/pcp/webapps/grafana/font
/usr/share/pcp/webapps/grafana/font/FontAwesome.otf
/usr/share/pcp/webapps/grafana/font/fontawesome-webfont.eot
/usr/share/pcp/webapps/grafana/font/fontawesome-webfont.svg
/usr/share/pcp/webapps/grafana/font/fontawesome-webfont.ttf
/usr/share/pcp/webapps/grafana/font/fontawesome-webfont.woff
/usr/share/pcp/webapps/grafana/img
/usr/share/pcp/webapps/grafana/img/check_radio_sheet.png
/usr/share/pcp/webapps/grafana/img/checkbox.png
/usr/share/pcp/webapps/grafana/img/checkbox_white.png
/usr/share/pcp/webapps/grafana/img/cubes.png
/usr/share/pcp/webapps/grafana/img/fav16.png
/usr/share/pcp/webapps/grafana/img/fav32.png
/usr/share/pcp/webapps/grafana/img/fav_dark_16.png
/usr/share/pcp/webapps/grafana/img/fav_dark_32.png
/usr/share/pcp/webapps/grafana/img/glyphicons-halflings-white.png
/usr/share/pcp/webapps/grafana/img/glyphicons-halflings.png
/usr/share/pcp/webapps/grafana/img/kibana.png
/usr/share/pcp/webapps/grafana/img/light.png
/usr/share/pcp/webapps/grafana/img/load.gif
/usr/share/pcp/webapps/grafana/img/load_big.gif
/usr/share/pcp/webapps/grafana/img/logo_transparent_200x.png
/usr/share/pcp/webapps/grafana/img/small.png
/usr/share/pcp/webapps/grafana/index.html
/usr/share/pcp/webapps/grafana/plugins
/usr/share/pcp/webapps/grafana/plugins/custom.panel.example
/usr/share/pcp/webapps/grafana/plugins/custom.panel.example/editor.html
/usr/share/pcp/webapps/grafana/plugins/custom.panel.example/module.html
/usr/share/pcp/webapps/grafana/plugins/custom.panel.example/module.js
/usr/share/pcp/webapps/grafana/plugins/datasource.example.js
/usr/share/pcp/webapps/grafana/vendor
/usr/share/pcp/webapps/grafana/vendor/angular
/usr/share/pcp/webapps/grafana/vendor/angular/angular-mocks.js
/usr/share/pcp/webapps/grafana/vendor/css
/usr/share/pcp/webapps/grafana/vendor/css/animate.min.css
/usr/share/pcp/webapps/grafana/vendor/css/font-awesome.min.css
/usr/share/pcp/webapps/grafana/vendor/css/normalize.min.css
/usr/share/pcp/webapps/grafana/vendor/css/spectrum.css
/usr/share/pcp/webapps/grafana/vendor/css/timepicker.css
/usr/share/pcp/webapps/grafana/vendor/jquery
/usr/share/pcp/webapps/grafana/vendor/jquery/jquery.flot.fillbetween.js
/usr/share/pcp/webapps/grafana/vendor/jquery/jquery.flot.pie.js
/usr/share/pcp/webapps/grafana/vendor/license.json
/usr/share/pcp/webapps/grafana/vendor/require
/usr/share/pcp/webapps/grafana/vendor/require/css-build.js
/usr/share/pcp/webapps/grafana/vendor/require/require.js
/usr/share/pcp/webapps/grafana/vendor/require/tmpl.js

References

Summary

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