<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Installation from source — Bcfg2 1.3.0 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '1.3.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/sidebar.js"></script> <link rel="shortcut icon" href="../_static/favicon.ico"/> <link rel="top" title="Bcfg2 1.3.0 documentation" href="../index.html" /> <link rel="up" title="Installation" href="index.html" /> <link rel="next" title="Building RPM packages from source" href="packages.html" /> <link rel="prev" title="Prerequisites" href="prerequisites.html" /> <link rel="stylesheet" href="../_static/bcfg2.css" type=""/> </head> <body> <div style="text-align: left; padding: 10px 10px 15px 15px"> <a href="../index.html"><img src="../_static/bcfg2_logo.png" border="0" alt="sampledoc"/></a> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="packages.html" title="Building RPM packages from source" accesskey="N">next</a> |</li> <li class="right" > <a href="prerequisites.html" title="Prerequisites" accesskey="P">previous</a> |</li> <li><a href="../index.html">home</a> | </li> <!--<li><a href="../search.html">search</a> | </li>--> <li><a href="../help/index.html">help</a> | </li> <li><a href="../contents.html">documentation </a> »</li> <li><a href="../contents.html" >Bcfg2 documentation 1.3.0</a> »</li> <li><a href="index.html" accesskey="U">Installation</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="installation-from-source"> <span id="source"></span><h1>Installation from source<a class="headerlink" href="#installation-from-source" title="Permalink to this headline">¶</a></h1> <div class="section" id="id1"> <h2>Download<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2> <div class="section" id="tarball"> <h3>Tarball<a class="headerlink" href="#tarball" title="Permalink to this headline">¶</a></h3> <p>The Bcfg2 source tarball can be grabbed from the <a class="reference external" href="http://trac.mcs.anl.gov/projects/bcfg2/wiki/Download">Download</a> page.</p> <p>All tarballs are signed with GPG keys <a class="reference external" href="GPG1">7F7D197E</a> or <a class="reference external" href="GPG2">A88FFF4B</a>. You can verify your download by importing the keys and running</p> <div class="highlight-python"><pre>gpg --recv-keys 0x75bf2c177f7d197e 0x80B8492FA88FFF4B gpg --verify bcfg2-<version>.tar.gz.gpg bcfg2-<version>.tar.gz</pre> </div> </div> <div class="section" id="git-checkout"> <h3>Git checkout<a class="headerlink" href="#git-checkout" title="Permalink to this headline">¶</a></h3> <p>You can also get the latest (possibly broken) code via git</p> <div class="highlight-python"><pre>git clone git://git.mcs.anl.gov/bcfg2.git</pre> </div> </div> </div> <div class="section" id="install"> <h2>Install<a class="headerlink" href="#install" title="Permalink to this headline">¶</a></h2> <p>If you are working with the release tarball of Bcfg2 you need to untar it before you can go on with the installation</p> <div class="highlight-python"><pre>tar -xzf bcfg2-<version>.tar.gz</pre> </div> <p>Now you can build Bcfg2 with. If you are working from a git clone no <version> need to be specified.</p> <div class="highlight-python"><pre>cd bcfg2-<version> python setup.py install --prefix=/install/prefix</pre> </div> <p>This will install both the client and server on that machine.</p> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Installation from source</a><ul> <li><a class="reference internal" href="#id1">Download</a><ul> <li><a class="reference internal" href="#tarball">Tarball</a></li> <li><a class="reference internal" href="#git-checkout">Git checkout</a></li> </ul> </li> <li><a class="reference internal" href="#install">Install</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="prerequisites.html" title="previous chapter">Prerequisites</a></p> <h4>Next topic</h4> <p class="topless"><a href="packages.html" title="next chapter">Building RPM packages from source</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/installation/source.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="packages.html" title="Building RPM packages from source" >next</a> |</li> <li class="right" > <a href="prerequisites.html" title="Prerequisites" >previous</a> |</li> <li><a href="../index.html">home</a> | </li> <!--<li><a href="../search.html">search</a> | </li>--> <li><a href="../help/index.html">help</a> | </li> <li><a href="../contents.html">documentation </a> »</li> <li><a href="../contents.html" >Bcfg2 documentation 1.3.0</a> »</li> <li><a href="index.html" >Installation</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Narayan Desai. Last updated on Mar 20, 2013. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>