<liclass="toctree-l3"><aclass="reference internal"href="#from-git">4.2.1. From git</a><ul>
<liclass="toctree-l4"><aclass="reference internal"href="#available-versions-in-git">4.2.1.1. Available versions in git</a></li>
<liclass="toctree-l4"><aclass="reference internal"href="#building-and-using-documentation-man-and-html">4.2.1.2. Building and using documentation (man and html)</a></li>
<liclass="toctree-l3"><aclass="reference internal"href="#installing-from-source-with-signature-verification">4.2.3. Installing from source with signature verification</a></li>
</ul>
</li>
</ul>
</li>
<liclass="toctree-l1"><aclass="reference internal"href="cdist-upgrade.html">5. How to upgrade cdist</a></li>
<h1><spanclass="section-number">4. </span>How to install cdist<aclass="headerlink"href="#how-to-install-cdist"title="Permalink to this headline">¶</a></h1>
<sectionid="requirements">
<h2><spanclass="section-number">4.1. </span>Requirements<aclass="headerlink"href="#requirements"title="Permalink to this headline">¶</a></h2>
<sectionid="source-host">
<h3><spanclass="section-number">4.1.1. </span>Source Host<aclass="headerlink"href="#source-host"title="Permalink to this headline">¶</a></h3>
<p>This is the machine from which you will configure target hosts.</p>
<blockquote>
<div><ulclass="simple">
<li><p>/bin/sh: A POSIX like shell (for instance bash, dash, zsh)</p></li>
<li><p>Python >= 3.5</p></li>
<li><p>SSH client</p></li>
<li><p>sphinx (for building html docs and/or the man pages)</p></li>
</ul>
</div></blockquote>
</section>
<sectionid="target-hosts">
<h3><spanclass="section-number">4.1.2. </span>Target Hosts<aclass="headerlink"href="#target-hosts"title="Permalink to this headline">¶</a></h3>
<blockquote>
<div><ulclass="simple">
<li><p>/bin/sh: A POSIX like shell (for instance bash, dash, zsh)</p></li>
<li><p>SSH server</p></li>
</ul>
</div></blockquote>
</section>
</section>
<sectionid="install-cdist">
<h2><spanclass="section-number">4.2. </span>Install cdist<aclass="headerlink"href="#install-cdist"title="Permalink to this headline">¶</a></h2>
<sectionid="from-git">
<h3><spanclass="section-number">4.2.1. </span>From git<aclass="headerlink"href="#from-git"title="Permalink to this headline">¶</a></h3>
<p>Cloning cdist from git gives you the advantage of having
a version control in place for development of your own stuff
immediately.</p>
<p>To install cdist, execute the following commands:</p>
<p>Note that <cite>bin/cdist-build-helper</cite> script is intended for cdist maintainers.</p>
<sectionid="available-versions-in-git">
<h4><spanclass="section-number">4.2.1.1. </span>Available versions in git<aclass="headerlink"href="#available-versions-in-git"title="Permalink to this headline">¶</a></h4>
<blockquote>
<div><ulclass="simple">
<li><p>The active development takes place in the <strong>master</strong> branch</p></li>
<li><p>The released versions can be found in the tags</p></li>
</ul>
</div></blockquote>
<p>Other branches may be available for features or bugfixes, but they
may vanish at any point. To select a specific branch use</p>
<h4><spanclass="section-number">4.2.1.2. </span>Building and using documentation (man and html)<aclass="headerlink"href="#building-and-using-documentation-man-and-html"title="Permalink to this headline">¶</a></h4>
<p>If you want to build and use the documentation, run:</p>
<h3><spanclass="section-number">4.2.3. </span>Installing from source with signature verification<aclass="headerlink"href="#installing-from-source-with-signature-verification"title="Permalink to this headline">¶</a></h3>
<p>If you want to install cdist from signed source and verify it, first you need to
download cdist archive and its detached signature.</p>
<p>Get both, <em>cdist-x.y.z.tar.gz</em> and <em>cdist-x.y.z.tar.gz.asc</em> from release
gpg: Signature made Sat Nov <spanclass="m">30</span><spanclass="m">23</span>:14:19 <spanclass="m">2019</span> CET
gpg: using RSA key 69767822F3ECC3C349C1EFFFEFD2AE4EC36B6901
gpg: Good signature from <spanclass="s2">"ungleich GmbH (ungleich FOSS) <foss@ungleich.ch>"</span><spanclass="o">[</span>ultimate<spanclass="o">]</span>
</pre></div>
</div>
<p>Further steps are the same as for <aclass="reference external"href="cdist-install.html#from-git">installing from git</a>.</p>
<ahref="cdist-upgrade.html"class="btn btn-neutral float-right"title="5. How to upgrade cdist"accesskey="n"rel="next">Next <spanclass="fa fa-arrow-circle-right"></span></a>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.