Install on Linux

Prequisites

Python

As a prerequisite, Python must be installed. For the recommended installation under pyenv, see Python on Linux.

glibc

Our BornAgain binaries (pip package and installer) are built on Debian 11 and require glibc version 2.31 or higher.

To see which glibc version is available on your system, run

$ ldd --version

Versions for other Linux distributions can be seen at https://repology.org/project/glibc/versions

Installation methods

as Python package

BornAgain can be installed as a Python package from the pip repository:

$ python -m pip install bornagain
from source

See build from source.