Install Glances on Red Hat (RHEL)

Reading Time: 2 minutes

This procedure works with Red Hat version 6,7,8, CentOS 6,7,8, and the Rocky Linux distributions.

Glances is a fantastic resource monitor tool for Linux and Windows-based systems. CPU, Disk, Memory, etc can be monitored either locally, or remotely via the web page.

This is the main glances website

Red Hat 5 / Red Hat 6 / Centos 5/6 installation instructions
Ensure that you run as root

sudo -i
sudo yum-config-manager --enable rhel-server-rhscl-6-rpms
sudo yum install rh-python36 -y
sudo scl enable rh-python36 bash
sudo pip install --upgrade pip
sudo pip install bottle
sudo pip install glances
sudo glances -w -t 5 &

Red Hat 7 / Centos 7 installation instructions
Ensure that you run as root

sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
sudo yum install rh-python36 -y
sudo yum install rh-python36-python-pip -y
sudo scl enable rh-python36 bash 
curl -L https://bit.ly/glances | /bin/bash
sudo glances -w -t 5 &

Red Hat 8 / Centos 8 Installation Instructions

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Glances, Install Glances on Red Hat (RHEL)
sudo yum install snapd
Glances, Install Glances on Red Hat (RHEL)
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install glances

You will need to exit your current putty session and log back in.

Then type Glances

Glances, Install Glances on Red Hat (RHEL)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *