summaryrefslogtreecommitdiffstats
path: root/doc/installation/source.txt
blob: 1406a5ceb431bb0200b43548cd43786fb045f0cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.. -*- mode: rst -*-

.. _GPG1: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x75BF2C177F7D197E
.. _GPG2: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x80B8492FA88FFF4B
.. _Download: http://trac.mcs.anl.gov/projects/bcfg2/wiki/Download

.. _source:

Installation from source
========================

Download
--------

Tarball
^^^^^^^

The Bcfg2 source tarball can be grabbed from the `Download`_ page.

All tarballs are signed with GPG keys `7F7D197E <GPG1>`_ or `A88FFF4B
<GPG2>`_. You can verify your download by importing the keys and running ::

    gpg --recv-keys 0x75bf2c177f7d197e 0x80B8492FA88FFF4B
    gpg --verify bcfg2-<version>.tar.gz.gpg bcfg2-<version>.tar.gz

Git checkout
^^^^^^^^^^^^

You can also get the latest (possibly broken) code via git ::

    git clone git://git.mcs.anl.gov/bcfg2.git

Install
-------

If you are working with the release tarball of Bcfg2 you need to 
untar it before you can go on with the installation ::

    tar -xzf bcfg2-<version>.tar.gz

Now you can build Bcfg2 with. If you are working from a git clone no
<version> need to be specified. ::

    cd bcfg2-<version>
    python setup.py install --prefix=/install/prefix

This will install both the client and server on that machine.