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:

https://jugit.fz-juelich.de/mlz/libheinz/-/releases
https://jugit.fz-juelich.de/mlz/libformfactor/-/releases
https://jugit.fz-juelich.de/mlz/bornagain/-/releases

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/main/libheinz-main.tar.gz | tar zx
$ wget -qO- https://jugit.fz-juelich.de/mlz/libformfactor/-/archive/main/libformfactor-main.tar.gz | tar zx
$ wget -qO- https://jugit.fz-juelich.de/mlz/bornagain/-/archive/main/bornagain-main.tar.gz | tar zx

Git

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