Table of Contents

  1. Precompiled Packages
    1. Alpine Linux
    2. Archlinux
    3. Debian
    4. Fedora
    5. FreeBSD
    6. Nexenta
    7. openSUSE
    8. OS X
    9. Red Hat Enterprise Linux / Centos / Scientific Linux
    10. SUSE
    11. Ubuntu
    12. Source RPMS
  2. Unofficial Precompiled Packages
    1. Unofficial Debian Repository
    2. Ubuntu Launchpad Bcfg2 PPA
  3. Building Your Own

Precompiled Packages

Precompiled/binary packages are available for a number of architectures:

Alpine Linux

Archlinux

Debian

Fedora

  • The server and the client package are both in the  Fedora Package Collection. Release candidates are only available for the development version (Rawhide) of Fedora.

FreeBSD

Nexenta

  • Elatte-unstable
    Add the following to /etc/apt/sources.list
         deb ftp://ftp.mcs.anl.gov/pub/bcfg/archive/nexenta elatte-unstable/
    

openSUSE

  • For openSUSE 11.x are no official packages available at the moment. Use  http://software.opensuse.org/search to check if the RPM packages for openSUSE are in the official repository.
  • There is a chance to find the latest packages in the repo of a contributor.

OS X

Red Hat Enterprise Linux / Centos / Scientific Linux

  • Packages are available in  EPEL:
    RHEL 5 / CentOS 5 / Scientific Linux
        $ su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
    
    RHEL 6 / CentOS 6 / Scientific Linux
        $ su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-6-5.noarch.rpm'
    

SUSE

Ubuntu

Oftentimes, you can find slightly older releases in the official Ubuntu repositories, However, it is recommended to use the latest stable release from the  Ubuntu PPA

Source RPMS

Unofficial Precompiled Packages

These are unofficial packages that are not maintained by the official mechanisms of the upstream distribution; we are trying to get more recent versions of Bcfg2 into distributions, but often you will need to use one of these.

Unofficial Debian Repository

See  http://debian.bcfg2.org for Debian GNU/Linux and gNewSense 3 and later.

Ubuntu Launchpad Bcfg2 PPA

Ubuntu, Trisquel and gNewSense 2 and earlier packages are made by the  Bcfg2 in Launchpad team.

After making the appropriate one of the below your /etc/apt/sources.list.d/bcfg2.list file, do:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 98932BEC
sudo aptitude update
sudo aptitude install bcfg2

And if you also want the server:

sudo aptitude install bcfg2-server

Stable Releases

We will strive to only have stable, working releases that have gone through testing in these repositories.

# /etc/apt/sources.list.d/bcfg2.list
# Bcfg2 PPA - https://launchpad.net/~bcfg2/+archive/ppa
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 98932BEC
deb http://ppa.launchpad.net/bcfg2/ppa/ubuntu <codename> main
deb-src http://ppa.launchpad.net/bcfg2/ppa/ubuntu <codename> main

Where <codename> is the release name (lsb_release -c)

Testing Releases

These releases are volatile and may sometimes be broken. You shouldn't automatically update production systems against them.

# /etc/apt/sources.list.d/bcfg2.list
# Bcfg2 PPA - https://launchpad.net/~bcfg2/+archive/<codename>testing
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 98932BEC

deb http://ppa.launchpad.net/bcfg2/<codename>testing/ubuntu <codename> main
deb-src http://ppa.launchpad.net/bcfg2/<codename>testing/ubuntu <codename> main

Where <codename> is the release name (lsb_release -c)

Building Your Own

You can build your own packages for more recent versions. See BuildingDebianPackages and BuildingRPMPackages