blob: b8bbc69f92ae95eba58f7b883408a85d16b0a898 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en" data-content_root="./">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Building iperf3 &#8212; iperf3 3.15 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css?v=4468db6d" />
<link rel="stylesheet" href="_static/bootstrap-3.3.6/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/esnet/esnet.css" type="text/css" />
<script src="_static/documentation_options.js?v=c35749de"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/jquery-1.11.0.min.js"></script>
<script src="_static/js/jquery-fix.js"></script>
<script src="_static/bootstrap-3.3.6/js/bootstrap.min.js"></script>
<script src="_static/bootstrap-sphinx.js"></script>
<link rel="icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Invoking iperf3" href="invoking.html" />
<link rel="prev" title="Obtaining iperf3" href="obtaining.html" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
</head><body>
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
iperf3</a>
</div>
<div class="collapse navbar-collapse nav-collapse">
<ul class="nav navbar-nav">
<li class="dropdown globaltoc-container">
<a role="button"
id="dLabelGlobalToc"
data-toggle="dropdown"
data-target="#"
href="index.html">Section <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc"
role="menu"
aria-labelledby="dLabelGlobalToc"><ul class="current">
<li class="toctree-l1"><a class="reference internal" href="news.html">iperf3 Project News</a></li>
<li class="toctree-l1"><a class="reference internal" href="obtaining.html">Obtaining iperf3</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Building iperf3</a></li>
<li class="toctree-l1"><a class="reference internal" href="invoking.html">Invoking iperf3</a></li>
<li class="toctree-l1"><a class="reference internal" href="dev.html">iperf3 Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="faq.html">iperf3 FAQ</a></li>
</ul>
</ul>
</li>
<li>
<a href="obtaining.html" title="Previous Chapter: Obtaining iperf3">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="hidden-sm">
Obtaining iperf3
</span>
</a>
</li>
<li>
<a href="invoking.html" title="Next Chapter: Invoking iperf3">
<span class="hidden-sm">
Invoking iperf3
</span>
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</li>
<li class="divider-vertical"></li>
<li><a href="genindex.html">Index</a></li>
<li><a href="https://www.es.net">ESnet</a></li>
<li><a href="https://github.com/esnet/iperf"><img src="_static/icon-github.png" height="20" width="20"></a></li>
<li class="hidden-sm">
<div id="sourcelink">
<a href="_sources/building.rst.txt"
rel="nofollow">Source</a>
</div></li>
</ul>
<form class="navbar-form navbar-right" action="search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-3">
<div id="sidebar" class="bs-sidenav" role="complementary"><ul>
<li><a class="reference internal" href="#">Building iperf3</a><ul>
<li><a class="reference internal" href="#prerequisites">Prerequisites</a></li>
<li><a class="reference internal" href="#building">Building</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
<section id="building-iperf3">
<h1>Building iperf3<a class="headerlink" href="#building-iperf3" title="Link to this heading"></a></h1>
<p>Building iperf3, as with most tools of this type, is a fairly
straightforward operation. The instructions in this section assume
that the source distribution has already been unpacked.</p>
<section id="prerequisites">
<h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Link to this heading"></a></h2>
<p>iperf3 requires few (if any) dependencies on common operating
systems. The only known prerequisites are listed here.</p>
</section>
<section id="building">
<h2>Building<a class="headerlink" href="#building" title="Link to this heading"></a></h2>
<p>In many cases, iperf3 can be built and installed as follows:</p>
<p><code class="docutils literal notranslate"><span class="pre">./configure</span> <span class="pre">&amp;&amp;</span> <span class="pre">make</span> <span class="pre">&amp;&amp;</span> <span class="pre">make</span> <span class="pre">install</span></code></p>
<p>In some cases, configuration might fail. If this happens, it might
help to run <code class="docutils literal notranslate"><span class="pre">./bootstrap.sh</span></code> first from the top-level directory.</p>
<p>By default, the <code class="docutils literal notranslate"><span class="pre">libiperf</span></code> library is built in both shared and
static forms. Either can be suppressed by using the
<code class="docutils literal notranslate"><span class="pre">--disabled-shared</span></code> or <code class="docutils literal notranslate"><span class="pre">--disable-static</span></code> configure-time options.</p>
</section>
</section>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-1">
<a href="http://www.es.net/"><img src="_static/ESnet_Final_Logos_All_Blue_Circle_Stamp_RGB.png" alt="[ESnet]"></a>
</div>
<div class="col-md-11">
<p class="pull-right">
<a href="#">Back to top</a>
</p>
<p>
&copy; Copyright 2014-2023, ESnet.<br/>
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 7.2.6.<br/>
</p>
</div>
</div>
</div>
</footer>
</body>
</html>