In this article, we will have explained the necessary steps to install Glances on Rocky Linux 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo
privileges. All the commands in this tutorial should be run as a non-root user.
Glances is a cross-platform monitoring tool that aims to present a large amount of monitoring information through a curses or Web-based interface. You can monitor system metrics such as memory & CPU utilization, network bandwidth, Disk I/O, File systems, and running processes to mention a few.
Install Glances on Rocky Linux
Step 1. First, before you start installing any package on your Rocky Linux server, we always recommend making sure that all system packages are updated.
sudo dnf update sudo dnf upgrade sudo dnf install epel-release
Step 2. Install the Dependencies Required Packages.
Before you continue, install the dependencies required to install and use Glances:
sudo dnf install python3 python3-jinja2 python3-psutil python3-setuptools hddtemp python3-pip lm_sensors
Step 3. Install Glances on Rocky Linux.
Installing Glances on your Rocky Linux system is straightforward, Now run the following command to Glances:
sudo dnf install glances
Step 4. Accessing Glances on Rocky Linux 8.
Once this Glances Linux system monitoring tool is installed on our system, you can start using it by just typing the below command in your terminal:
glances
You will see an output like the following:
To bring up the help command, enter the following:
glances -h
That’s all you need to do to install Glances on Rocky Linux 8. I hope you find this quick tip helpful. For further reading on the system monitoring tool, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.