Get the sources

Besides the sources of BornAgain you need those of our support libraries libheinz and libformfactor.

If in doubt, install the tarballs of the latest published release.

If you are ready to live on the edge, you may also clone our Git repository and work on the current “main” branch.

Source tarballs

The tar command allows downloading and unpacking in one go:

$ wget -qO- https://jugit.fz-juelich.de/mlz/libheinz/-/archive/v0.1.3/libheinz-v0.1.3.tar.gz | tar zx
$ wget -qO- https://jugit.fz-juelich.de/mlz/libformfactor/-/archive/v0.1.3/libformfactor-v0.1.3.tar.gz | tar zx
$ wget -qO- https://bornagainproject.org/ext/files/latest/BornAgain-1.19.79.tar.gz
 | tar zx

Github

You can also get access to the source code by cloning our public Git repository:

$ git clone https://jugit.fz-juelich.de/mlz/libheinz.git
$ git clone https://jugit.fz-juelich.de/mlz/libformfactor.git
$ git clone https://jugit.fz-juelich.de/mlz/bornagain.git