yum仓库中未提供htop工具,需要额外下载并编译安装,对于新手下载并编译安装htop工具许注意如下几点:

1、编译环境配置: 安装编译工具gcc,若出现如下错误提示:则运行 rm  -f  /var/run/yum.pid

 Htop性能检测工具的安装注意事项

2、下载htop:

  (1)我们可以通过在线下载的方式获取,

                 wget http://sourceforge.net/projects/htop/files/latest/download

(2)、可以直接下载rpm安装包进行安装没获取方式:

                     http://rpmfind.net

         rpm包的安装方式:rpm -ivh htop-1.0.2-1.el5.rf.i386.rpm

如果下载的是tar包的话。步骤如下:

 1、解压缩:tar -zxf htop-1.0.2.tar.gz

2、进入目标文件夹:cd htop-1.0.2

3、 ./configure

在安装过程中错误:configure: error: You may want to use --disable-unicode or install libncursesw.

则运行yum install -y ncurses-devel 即可。

最后工具自动安装成功:

Htop性能检测工具的安装注意事项



相关文章:

  • 2021-04-21
  • 2021-07-14
  • 2021-12-03
  • 2022-12-23
  • 2021-04-19
  • 2022-12-23
  • 2022-01-16
  • 2021-08-30
猜你喜欢
  • 2021-06-30
  • 2021-11-29
  • 2021-07-13
  • 2022-12-23
  • 2022-02-07
  • 2021-10-14
  • 2022-12-23
相关资源
相似解决方案