Skip to content
Source packages for releases of xapi-project components
Find file
Latest commit eff85e4 @jonludlam jonludlam Merge pull request #110 from simonjbeaumont/camldm-opam-file
camldm: Fix opam file (build steps changed)

xapi-project source packages

To build the xapi-project toolstack components from source:

First install common development tools and headers:

apt-get install build-essential libxen-dev libvirt-dev autoconf m4

Second install the opam source package manager.

Initialise an opam configuration and add this repo: (note this will install the OCaml compiler from source, so you don't need to worry about distro package versions)

opam init --comp=4.01.0
eval `opam config env`
opam remote add xapi-project git://

To build xapi:

opam install xapi

Testing a code change

If you want to change some library code, then you should recompile all the components that depend on that library -- opam handles this for you automatically.

Consider making a change to stdext. First clone the relevant branch and make your change:

git clone git://

Next tell opam to use the custom version:

opam remove stdext
opam pin stdext stdext

Next install the component you want to test:

opam install xapi

After making new changes to stdext, it sufficies to:

opam update
opam upgrade

How does this relate to [xenserver/buildroot]?

The [xenserver/buildroot] repo creates binary packages of released software, easily installable via a distro's native package manager. These binary packages are intended for users.

Source packages built from this repo are intended for developers: quickly making changes, recompiling and testing.

Something went wrong with that request. Please try again.