安装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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2021-06-08
  • 2021-07-30
  • 2021-04-03
  • 2021-11-05
猜你喜欢
  • 2022-12-23
  • 2021-12-08
  • 2022-01-11
  • 2021-11-06
  • 2022-02-08
  • 2021-07-07
  • 2021-05-27
相关资源
相似解决方案