Yum

如何安裝iftop?

  • August 10, 2017

我試過了:

root@host [/home]# yum install iftop
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirrors.tds.net
* extras: yum.singlehop.com
* updates: mirror.wiredtree.com
Setting up Install Process
No package iftop available.
Error: Nothing to do

那麼該怎麼做呢?

我應該怎麼做才能做到這一點?

您可以下載原始碼並自己編譯包,也可以下載二進制包以進行分發。

看看http://pkgs.repoforge.org/iftop/因為它為 RHEL/CentOS 和原始碼提供了二進制包。

要在 CentOS-6 64 位上安裝二進制包,只需執行以下操作:

wget http://pkgs.repoforge.org/iftop/iftop-0.17-1.el6.rf.x86_64.rpm
rpm -ivh iftop-0.17-1.el6.rf.x86_64.rpm

iftopEPEL儲存庫中可用:

# rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

引用自:https://unix.stackexchange.com/questions/60924