CentOS – yum htop install

If you try to install via yum, you may get the error below. If you get such error, you need to download RPM.

root@vmi30970 [~]# yum install htop
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* extras: mirror.atlanticmetro.net
* updates: mirror.atlanticmetro.net
No package htop available.
Error: Nothing to do

How to find the version number of CentOS?

cat /etc/centos-release

How to know Linux 32-bit or 64-bit?

uname -p

Install RPM for CentOS 5.x


wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i686.rpm

rpm -Uhv rpmforge-release*.rf.i386.rpm


wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm

Install RPM for CentOS 6.x


wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

rpm -Uhv rpmforge-release*.rf.i386.rpm


wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

rpm -Uhv rpmforge-release*.rf.x86_64.rpm

wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

Install RPM for CentOS 7.x


Now you can install htop

[html]yum install htop[/html]