喵♂呜 的博客

一个刚毕业就当爹的程序猿 正在迷雾中寻找道路...

htop在CentOs下编译安装

HTOP 是一个图形化的进程管理工具

CentOs快速安装脚本

1
wget -qO- https://blog.yumc.pw/attachment/script/shell/htop.sh | bash

下载源码: wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz
编译安装: ./configure && make -j4 && make install

错误解决

  • 提示 configure: error: You may want to use --disable-unicode or install libncursesw.
    • 缺少类库 使用 yum install ncurses-develapt-get install libncursesw5-dev 安装类库

欢迎关注我的其它发布渠道