Install Htop on CentOS and Ubuntu
This post explains how to install Htop on CentOS and Ubuntu systems. Htop is a very useful monitoring tool available for Linux.
Installation on Ubuntu
The installation of Htop on Ubuntu is very simple. Please run the following command:
sudo apt-get install htop
Installation of Htop on CentOS
You need to enable EPEL repository on your server to install it on CentOS server. The EPEL installation is described [button color=”green” size=”small” link=”https://grepitout.com/install-epel-repo-centos/” icon=”” target=”true”]here[/button].
Once EPEL repository is installed, please run the following command to enable Htop.
yum install -y htop
If you would like to install the latest version of Htop, you can install it from source.
yum groupinstall "Development Tools" yum install ncurses ncurses-devel wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz tar xvfvz htop-2.0.2.tar.gz cd htop-2.0.2 ./configure make make install
sudo apt-get install build-essential sudo apt-get install libncurses5-dev libncursesw5-dev wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz tar xvfvz htop-2.0.2.tar.gz cd htop-2.0.2 make make install
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at email@example.com