Wednesday, May 22, 2013

htop installation in centos

To Install the htop in centos machine we need to download the package, As htop is not by default contain the repository of centos


Step 1. Download the packeages

For 32 bit
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm

For 64 bit
# wget   http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

To check your architecture use command
# uname -a

Step 2. Install DAG GPG key
# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Step 3. Verify the download package
# rpm -K rpmforge-release-0.5.2-2.el6.rf.x86

Step 4. Install the package
# rpm -i rpmforge-relaese-0.5.2-2.el6.rf.X86

Step 5. use yum
# yum install htop