首页 > 其他 > 详细

安装htop教程及坑

时间:2017-02-22 17:48:46      阅读:955      评论:0      收藏:0      [点我收藏+]

安装htop的坑:
1、上官网http://hisham.hm/htop/releases/下载最新的包
2、解压缩:tar -zxvf htop-2.0.2.tar.gz;
3、进入目标文件夹: cd htop-2.0.2
4、./configure
5、系统若出现以下提示,则需要安装c编译环境
configure: error: no acceptable C compiler found in $PATH
安装c编译环境:yum -y install gcc
6、装完c编译环境后再进行./configure,若出现如下提示,则需要安装依赖包
configure: error: You may want to use --disable-unicode or install libncursesw.
yum install -y ncurses-devel
7、接下来就是最后的安装环节:./configure&&make&&make install

安装htop教程及坑

原文:http://www.cnblogs.com/dvbbs2012/p/6429942.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!