今天准备安装htop发现yum搜不到有毒还是编译安装吧就有了这篇文章
# 检查是否安装 gcc
➜  gcc -v
...
gcc 版本 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) 
# 安装 ncurses 库
➜  yum install -y ncurses-devel
# 下载 htop 
➜  wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz
# 编译、安装 htop
➜  tar zxvf htop-2.0.2.tar.gz
➜  cd htop-2.0.2
➜  ./configure
➜  make
➜  make install		

Comments | NOTHING