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
上一篇:JNI类型与C/C++映射关系


下一篇:Xcode常见快捷键