-
Notifications
You must be signed in to change notification settings - Fork 56
Building htop
Below versions of htop are available in respective distributions at the time of creation of these build instructions.
- Ubuntu 16.04 has
2.0.1 - Ubuntu 17.10 has
2.0.2 - Ubuntu 18.04 has
2.1.0
The instructions provided below specify the steps to build htop v2.2.0 on Linux on IBM Z for following distributions:
- RHEL (6.9,7.3, 7.4)
- SLES (11 SP4, 12 SP2, 12 SP3)
- Ubuntu (16.04, 17.10, 18.04)
General Notes:
-
When following the steps below please use a standard permission user unless otherwise specified.
-
A directory
/<source_root>/will be referred to in these instructions, this is a temporary writeable directory anywhere you'd like to place it.
-
RHEL (6.9, 7.3, 7.4)
sudo yum install ncurses ncurses-devel gcc make wget tar python
-
SLES (11 SP4, 12 SP2, 12 SP3)
sudo zypper install ncurses ncurses-devel gcc make wget tar python
-
Ubuntu (16.04, 17.10, 18.04)
sudo apt-get install gcc make wget tar libncursesw5 libcunit1-ncurses libncursesw5-dev python
cd /<source_root>/
wget http://hisham.hm/htop/releases/2.2.0/htop-2.2.0.tar.gz
tar xvzf htop-2.2.0.tar.gz
cd /<source_root>/htop-2.2.0
./configure
make
make check
sudo make install
htop
Note: For a list of supported key commands see the manual page man htop on ubuntu.
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.