Installation#
Note
Wheels are provided for x86-64 Linux linking against OpenBLAS. Other
machines will have to build the wheel from the source distribution.
Building rlinalg involves compiling Fortran code, and a Fortran
compiler is needed to build from source.
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
Piwheels#
rlinalg is compatible with Raspberry Pi computers, and pre-built
wheels are compiled for armv7l platforms on piwheels.
Run the following command to install these instead of compiling from source:
$ sudo apt install libgfortran5 libopenblas0-pthread
$ pip3 install rlinalg --extra-index-url https://www.piwheels.org/simple
Check the piwheels documentation and the rlinalg page on piwheels for more information.
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.