Distribution-specific notes

The installation of Bcfg2 on a specific distribution depends on the package management tool and the availability of the package in the distribution’s repository.

Alpine Linux

Packages for Alpine Linux are available in the testing repository. Just use apk to perform the installation

apk add bcfg2 bcfg2-server -U -X --allow-untrusted

Arch Linux

Packages for Arch Linux are available in the Arch User Repository (AUR). The bcfg2 package includes bcfg2-server.


Packages of Bcfg2 are available for all current versions of Debian. The fastest way to get Bcfg2 onto your Debian system is to use apt-get or aptitude.

sudo aptitude install bcfg2 bcfg2-server

If you want to use unofficial packages from Bcfg2 see the instructions at CustomDebianRepository.


The fastest way to get Bcfg2 packages onto your Fedora system is to use yum or PackageKit. Yum will pull in all dependencies of Bcfg2 automatically.

su -c 'yum install bcfg2-server bcfg2'

Be aware that the latest release of Bcfg2 may only be available for the Development release of Fedora (Rawhide). With the activation of the Rawhide repository of Fedora you will be able to install it.

su -c 'yum install --enablerepo=rawhide bcfg2-server bcfg2'

This way is not recommended on production systems. Only for testing.


Bcfg2 can be installed via portage.


Bcfg2 can be installed either via MacPorts or by creating a native OS X package.


Once macports is installed:

port install bcfg2

Using native OS X python

First, make sure you have Xcode installed as you need packagemaker which comes bundled in the Developer tools.

Clone the git source:

git clone git://

Change to the osx directory and type make. Your new package should be located at bcfg2-$VERSION.pkg (where $VERSION is that which is specified in

RHEL / Centos / Scientific Linux

While you can go about building all these things from source, this section will try and meet the dependencies using packages from EPEL [1]. The el5 and the el6 package should be compatible with CentOS 5.x/6.x and Scientific Linux.

EPEL for 5.x:

[root@centos ~]# rpm -Uvh

EPEL for 6.x:

[root@centos ~]# rpm -Uvh

Install the bcfg2-server and bcfg2 RPMs:

[root@centos ~]# yum install bcfg2-server bcfg2


The latest package for el5 is only available in the testing repository.

[1]For more details check the EPEL instructions


We highly recommend following the instructions at ubuntu-installation in order to install a recent version of Bcfg2 on your system. However, if you would like to install the older package, you can use the following command:

sudo aptitude install bcfg2 bcfg2-server

Table Of Contents

Previous topic

Building packages from source

Next topic

Getting started

This Page