Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a bit of a tricky problem installing Iperf. So the I need to install iperf on 2 remote boxes, The problem is that these boxes do not have internet access. I can't install from the binary files as the boxes do not have a c or C++ compiler.

SO is there any way for me to get iperf on the machines with out installing a C++ compiler?

All machines are Ubuntu.

Thanks, Paddy

share|improve this question

are you installing it from source?

just download the .rpm or .deb (depending on distro) and manually install it.

or manually install the gcc compiler from the package file.

more info would be helpful, distro, how you are installing it etc.

share|improve this answer
Oh ye sorry, All machines are Ubuntu. I was trying to install it from the source and a .deb file but the .deb was giving me a: '-bash: dpkg: command not found' – Paddy Jul 20 '12 at 10:13
did you run dpkg as sudo? sudo dpkg -i filename.deb – Sc0rian Jul 20 '12 at 10:17
Yes. To be clear What I'm hoping for is maybe some way of using scp to send some sort of iperf packet to one of the remote boxes that will let me install / run iperf on the machines. I'm not sure that this 'Magic' solution is possible. – Paddy Jul 20 '12 at 10:27
@Paddy Yes, using the .deb should accomplish that. Download from here for the correct OS version and CPU architecture. If dpkg isn't found then there's something wrong with either your path or your whole system - does /usr/bin/dpkg exist? – Shane Madden Jul 21 '12 at 22:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.