Installation#

Note

Wheels are provided for x86-64 Linux, MacOS and Window, as well as Aarch64 Linux and MacOS, but other machines will have to build the wheel from the source distribution. Building diced involves compiling Rust code. If no Rust compiler is available on the local machine, the setup script will setup one to a temporary location.

PyPi#

rlinalg is hosted on GitHub, but the easiest way to install it is to download the latest release from its PyPi repository. It will install all build dependencies then install rlinalg either from a wheel if one is available, or from source after compiling the Fortran code :

$ pip install --user rlinalg

GitHub + pip#

If, for any reason, you prefer to download the library from GitHub, you can clone the repository and install the repository by running (with the admin rights):

$ git clone --recursive https://github.com/althonos/rlinalg
$ pip install --user ./rlinalg

Caution

Keep in mind this will install always try to install the latest commit, which may not even build, so consider using a versioned release instead.