htop - sinherle/Recipes GitHub Wiki

Building Htop

The instructions provided below specify the steps to build Htop version 2.0.2 on Linux on the IBM z Systems for RHEL 7.2.

General Notes:

i) When following the steps below please use a standard permission user unless otherwise specified.

ii) A directory /<source_root>/ will be referred to in these instructions, this is a temporary writeable directory anywhere you'd like to place it.

1. Install the dependencies

RHEL 7.2

    sudo yum install ncurses ncurses-devel gcc make wget tar 

2. Download and unpack the Htop 2.0.2 source code

    cd /<source_root>/
    wget https://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz
    tar xvzf htop-2.0.2.tar.gz
    cd htop-2.0.2

3. Configure and build htop-2.0.2

    ./configure
    make

4. Run test cases if any(optional)

    make check

5. Install htop

    sudo  make install