How to Install Grafana on RHEL / CentOS 8

How can I install Grafana on RHEL / CentOS 8?. This guide will walk you through the installation of Grafana on RHEL 8. Grafana is a free and open source feature-rich graph editor & metrics dashboard for various data sources such as Elasticsearch, Graphite, OpenTSDB, Prometheus, and InfluxDB.

We have other installation guides for Grafana, choose one for your Linux distribution.

Install Grafana on RHEL 8

Grafana can be installed on RHEL 8 from YUM repository or by manually downloading and installing .rpm package. The former is preferred method since it is easy to update and uninstall Grafana with the yum package manager.

Step 1: Add Grafana yum repository

Run the commands below as user with sudo privileges or as root user to add repository content to your RHEL 8.