htop 源码安装

 htop-1.0.2.tar.gz  http://pan.baidu.com/s/1c1RbdIg

tar -xvf htop-1.0.2.tar.gz
cd htop-1.0.2 
./configure 
make && make install

 如果有如下报错:

configure: error: missing libraries: libncurses

 

# yum install ncurses-devel

 重新编译安装:

# ./configure && make && make install

 

posted @ 2016-04-23 23:09  bass  阅读(1841)  评论(2编辑  收藏  举报