summaryrefslogtreecommitdiffstats
path: root/doc/installation/source.txt
blob: 9bf023fbc7f0a84502edd36be2a7e29c2f0ee759 (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
48
.. -*- mode: rst -*-
.. vim: ft=rst

.. _7F7D197E: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x75BF2C177F7D197E
.. _A88FFF4B: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x80B8492FA88FFF4B
.. _Download: http://bcfg2.org/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`_ or `A88FFF4B`_. 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.