From 9742ee6bb2b7cba536381fc2a1edbb4c584fa18b Mon Sep 17 00:00:00 2001 From: Aman Raj Date: Wed, 17 Jun 2026 05:24:59 +0530 Subject: [PATCH] docs: document the EPEL package install path in the README The README's "Installation and Usage" section only covered Ansible and Docker. On Enterprise Linux and Fedora, node_exporter is packaged in EPEL as golang-github-prometheus-node-exporter (EPEL 7, 8 and 9), which several users find easier than a manual install. Add a short "Linux distribution packages" subsection documenting it, including the EL9 systemd service name. Closes #2160 Signed-off-by: Aman Raj --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 3b8c2d811e..368bf5e88f 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,20 @@ If you are new to Prometheus and `node_exporter` there is a [simple step-by-step The `node_exporter` listens on HTTP port 9100 by default. See the `--help` output for more options. +### Linux distribution packages + +On Enterprise Linux (RHEL, CentOS Stream, Rocky Linux, AlmaLinux) and Fedora, `node_exporter` is packaged in [EPEL](https://docs.fedoraproject.org/en-US/epel/) as `golang-github-prometheus-node-exporter` (available for EPEL 7, 8 and 9): + +``` +dnf install golang-github-prometheus-node-exporter +``` + +On EL9 the systemd service is named `prometheus-node-exporter`: + +``` +systemctl enable --now prometheus-node-exporter +``` + ### Ansible For automated installs with [Ansible](https://www.ansible.com/), there is the [Prometheus Community role](https://github.com/prometheus-community/ansible).