Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install the rpm package of iperf3 and when i tried to install it i get the below error.
Code:
error: Failed dependencies:
libiperf.so.0()(64bit) is needed by iperf-3.1.2-1.1.x86_64
when i try to install libiperf0 for suse, then again i get the below error.
Code:
Reading installed packages...
'libiperf0' not found in package names. Trying capabilities.
No provider of 'libiperf0' found.
Resolving package dependencies...
Nothing to do.
Hi all,
I am trying to install the rpm package of iperf3 and when i tried to install it i get the below error.
Code:
error: Failed dependencies:
libiperf.so.0()(64bit) is needed by iperf-3.1.2-1.1.x86_64
when i try to install libiperf0 for suse, then again i get the below error.
Code:
Reading installed packages...
'libiperf0' not found in package names. Trying capabilities.
No provider of 'libiperf0' found.
Resolving package dependencies...Nothing to do.
Ok...and if you told us what version/distro of Linux you're using, we might be able to give you some ideas. You don't say how you're trying to install it, or where you got the package from, but typically things like dnf, yum, or zypper will install the dependencies for you.
Without actual details, there's not much we can tell you.
Ok...and if you told us what version/distro of Linux you're using, we might be able to give you some ideas. You don't say how you're trying to install it, or where you got the package from, but typically things like dnf, yum, or zypper will install the dependencies for you.
Without actual details, there's not much we can tell you.
OS is Suselinux, yum doesnot work there. I have downloaded rpm packages and trying to do it via bash script. unfortunately it doesnot work.
Code:
#!/bin/bash
host="host1 host2"
file1="libiperf0-3.5-lp152.3.6.x86_64.rpm"
file2="iperf-3.1.2-1.1.x86_64.rpm"
lib="rpm -Uhv $file1"
pkg="rpm -Uhv $file2"
for hostname in ${hosts} ; do
scp /home/tmp/$file1 $file2 $hostname:/tmp/;
ssh ${hostname} cd /tmp/
$lib $pkg
done
OS is Suselinux, yum doesnot work there. I have downloaded rpm packages and trying to do it via bash script. unfortunately it doesnot work.
Again, you *STILL* provide no details, and don't answer the questions you were asked. You say "suselinux"....do you mean openSUSE or SLES? What version? And AGAIN, where did you download those packages??? And as said, why don't you use zypper to install them, since it resolves dependencies, because....
Quote:
Code:
#!/bin/bash
host="host1 host2"
file1="libiperf0-3.5-lp152.3.6.x86_64.rpm"
file2="iperf-3.1.2-1.1.x86_64.rpm"
lib="rpm -Uhv $file1"
pkg="rpm -Uhv $file2"
for hostname in ${hosts} ; do
scp /home/tmp/$file1 $file2 $hostname:/tmp/;
ssh ${hostname} cd /tmp/
$lib $pkg
done
...this is fairly pointless for two packages on a single system. But it appears as if you want to install these on multiple systems, and you don't say anything about THOSE either. What is your actual goal here?? Answer the questions asked, and provide a clear description of things. Having to guess isn't good.
OpenSuse 15 version and I wanted to install on multiple hosts. I tried to download the packages from opensusepackages.org
I tried to use zypper, but you see i got an error when using zypper.
The two packages are one is library package and the iperf package, as it throwed me an error, i tried to install both. Goal is to distribute iperf packages and then install them on remote hosts. Hope its clear now
OpenSuse 15 version and I wanted to install on multiple hosts. I tried to download the packages from opensusepackages.org I tried to use zypper, but you see i got an error when using zypper. The two packages are one is library package and the iperf package, as it throwed me an error, i tried to install both. Goal is to distribute iperf packages and then install them on remote hosts. Hope its clear now
And **AGAIN** you omit details. You "got an error"...but don't bother telling us what the error IS, so what do you think we'll be able to tell you??? And there is NO WEBSITE (that I can reach, at least), called 'opensusepackages.org', so again...you don't provide THAT information.
iperf is available from software.opensuse.org for 15.2 and 15.3; 15.4 lists both iperf and libiperf0 as a community repository. So AGAIN, typing in "zypper install iperf" will install what's needed, if you enable that repository for 15.4 (you AGAIN don't say what version beyond 15). Enable the repository, type in "zypper install iperf", and press ENTER. That's it; works on any openSUSE 15.x system.
And **AGAIN** you omit details. You "got an error"...but don't bother telling us what the error IS, so what do you think we'll be able to tell you??? And there is NO WEBSITE (that I can reach, at least), called 'opensusepackages.org', so again...you don't provide THAT information.
I have pasted zypper error on the first messsage itself.
iperf is available from software.opensuse.org for 15.2 and 15.3; 15.4 lists both iperf and libiperf0 as a community repository. So AGAIN, typing in "zypper install iperf" will install what's needed, if you enable that repository for 15.4 (you AGAIN don't say what version beyond 15). Enable the repository, type in "zypper install iperf", and press ENTER. That's it; works on any openSUSE 15.x system.
I added repository and tried to do install as per the commands given on software.opensuse.org but i get below error.
Code:
Download (curl) error for 'https://download.opensuse.org/repositories/network:utilities/15.2/network:utilities.repo':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
More over i wanted to do this installation on multiple hosts so i would download package and do it
I added repository and tried to do install as per the commands given on software.opensuse.org but i get below error.
Code:
Download (curl) error for 'https://download.opensuse.org/repositories/network:utilities/15.2/network:utilities.repo':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
And you *STILL* don't answer questions...we now know it's 15.2, only because of the message you posted. You *STILL* don't tell us how you added this repository, or even WHY...since iperf is part of the official 15.2 repos. https://build.opensuse.org/repositor...eap:15.2/iperf
Quote:
More over i wanted to do this installation on multiple hosts so i would download package and do it
...which is pointless, since (AGAIN) if they're all 15.2, and configured correctly, you can just (AGAIN) type in "zypper install iperf". And since you've asked about running commands on multiple hosts before, and scripting such things, you ALSO know how to script/do this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.