centos 安装htop

centos 安装htop,第1张

当yum源中没有htop包的时候就无法执行方法一,那么尝试如下方橡闭法。

注意:至于为什么要切换目录我也不知烂如歼道,反正饥冲在htop-2.0.2目录下无法启动htop。

centos下安装教程

1.到http://pkgs.repoforge.org/htop/下载对陆差应版本

[cpp] view plain copy

wget http://pkgs.repoforge.org/htop/htop-1.0.2-1.el6.rf.x86_64.rpm

2.安装

[cpp] view plain copy

rpm –ivh htop-0.8.3-1.el4.rf.i386.rpm

3.程租指式装好了弊悉配後直接下指令[root@localhost]#htop,就会出现以下画面。

安装支持组件

[plain] view plain copy

wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz

tar xvfz ncurses-5.9.tar.gz

cd ncurses-5.9

./configure

make

make install

安装htop:

[plain] view plain copy

wget http://sourceforge.net/projects/htop/files/htop/0.9/htop-0.9.tar.gz

tar zxvf htop-0.9.tar.gz

cd htop-0.9

./configure

make

make install


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/12427270.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-25
下一篇 2023-05-25

发表评论

登录后才能评论

评论列表(0条)

保存