Linux - How to install htop
utility gives us a basic overview of the processes running on your Linux system, the
utility goes further, by giving us additional information about the processes and also allow several manipulations:
Sort the list of processes using criteria such as: CPU usage, memory, virtual memory and others
Search for a process
Kill Process Automatic installation from repositories (Most distributions )
exist for most of the Linux distributions, thus allowing easy installation via the
This is the generic procedure to be used:
NB: all commands are entered as root (admin), alternatively you can use the sudo program to execute a command as root (Ubuntu/Kubuntu/Lubuntu/Xubuntu). Installation in Debian, Ubuntu, Linux Mint and derivatives (Kubuntu, Lubuntu, Xubuntu, LMDE, etc)
The first thing to do, is to verify if your repositories are up-to-date
The next step is to install "htop":
" argument above, automatically accepts the package installation!
Fedora, CentOS, RedHat and others
For these distributions, you will notice that htop package is generally missing from official repositories. It is therefore necessary to use the "
CentOS, RHEL, Scientific Linux and other
Installing EPEL repositories:
If the "
" package does not exist, you will need to install it manually:
RHEL / CentOS 5.x
Install the htop package:
to install the package.
Manual installation from sources
A manual installation from sources may be required when:
The htop package is not available for your system
You want to run the latest version of htop and it is not yet available for your system.
Installation and compilation of htop should work on most systems provided you have the right tools!
We'll start by downloading the sources:
Then we will extract this archive:
And now we will compile our tool:
./configure; make; make install Launch htop
Normally, if your installation was successful and has returned an error message, you run htop with the following command: