Installing HTOP on Oracle Linux

If you have ever needed to use the comand “top” in linux enviroments, you probably got lost trying to find what you were looking for.

An alternative is the HTOP tool, which has a simple  and intuitive graphic interface for analyzing processes and resouces of a system. It’s a tool that I have been using since my first contact with Linux.

You can see the difference below: 

In most systems, to install the htop tool, you just need to use the default package manager of your system, such as:

sudo yum install htop

But if you are using Oracle Linux, you will not find the htop package in the default repositories.

To make it possible, you will need to enable the oracle-epel repository.

To enable this repository, open with a text editor the file oracle-epel-ol7, or oracle-epel-ol8 if you are on the Oracle Linux version 8:

sudo nano /etc/yum.repos.d/oracle-epel-ol7.repo

In the end of the file, change the line: “enabled=0” to “enabled=1”.

name=Oracle Linux $releasever EPEL Packages for Development ($basearch)

Now you just need to update the repositories and install the package.

sudo yum update
sudo yum install htop

Done! With this you will have one of the best text-mode tools for quick analysis of resources and processes.

Leave a Reply

Your email address will not be published.