Monday 28 October 2019

How to Resolve “No package iperf available.” on CentOS 7



Mostly the massage “No package iperf available” will appears when the package is not available in CentOS 7 Base/default repositories and the massages will display like below:

[root@linuxcnf ~]# yum install iperf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * extras: centos.mirrors.estointernet.in
 * updates: centos.mirrors.estointernet.in
No package iperf available.
Error: Nothing to do
[root@linuxcnf ~]#

This article describes How to Resolve “No package iperf available.” on CentOS 7 by installing EPEL Repository.

Step 1. Enabling EPEL Repository: Follow the article How to install EPEL Repository on CentOS 7 to enable EPEL repository on CentOS 7

Step 2. Package Installation: Once the EPEL repository is installed successfully, try to install the package iperf again and hoping it will be installed successfully.

[root@linuxcnf ~]# yum install iperf
Loaded plugins: fastestmirror
………………………..
Installed:
  iperf.x86_64 0:2.0.13-1.el7

Complete!
[root@linuxcnf ~]#

Step 3. Verify the installation: Run the following command to verify the installation:

[root@linuxcnf ~]# iperf --version
iperf version 2.0.13 (21 Jan 2019) pthreads
[root@linuxcnf ~]#

Done!!! Now package is installed successfully from EPEL Repository.

No comments:

Post a Comment