CentOS 6.9 安装htop,也适合centOS7

CentOS6.9安装htop,也适合CentOS7。htop官方网站:http://hisham.hm/htop/

首先安装首先啟用 EPEL Repository。

[root@localhost ~]# yum -y install epel-release
[root@localhost ~]# yum -y update
#安装htop
[root@localhost ~]# yum install htop

yum安装htop完成。

源码安装htop,首先安装git。ncurses-devel编译安装htop时需要。

[root@localhost ~]# yum -y install git ncurses-devel

htop GIT源码下载地址。https://github.com/hishamhm/htop

git clone htop代码。

[root@localhost ~]# git clone https://github.com/hishamhm/htop.git

切换到htop代码目录执行./configure; make; sudo make install 即可。

下图是centOS6.9安装完成软件运行截图。 htop

猜你喜欢

转载自my.oschina.net/u/1011130/blog/1574926
今日推荐