Languages
[Edit]
EN

CentOS install htop

5 points
Created by:
Marcin
15470

Hello, today I would like to share with you how to install htop on CentOS.

Today I was trying to install htop on my CentOS, but I got:

[root@localhost]# sudo yum install htop
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package htop available.
Error: Nothing to do

I found simple solution.

I just needed to install EPEL repo, because my CentOS didn't have it.

Command to install EPEL repo, which will enable us to install htop:

[root@localhost]# sudo yum -y install epel-release

After EPEL repo is installed, we install htop with this command:

[root@localhost]# sudo yum install htop

During installation we need to confirm two times yes (Is this ok [y/N]: y).

After installation is finished we should be able to run htop program just by typing:

[root@localhost]# htop

That's all, thanks for reading.

Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join