Linux (Fedora, Ubuntu, Red Hat, SUSE, Debian, etc)
Armadillo can work without external libraries. However, to get the most functionality it‘s recommended to install (in advance) the LAPACK, BLAS and ATLAS libraries, along with the corresponding development/header files.
For faster performance, instead of using standard BLAS we recommend using the multi-threaded OpenBLAS library
Many Linux-based operating systems provide pre-built Armadillo packages,
eg.
Fedora,
Debian,
Ubuntu,
openSUSE,
Arch.
These packages may not be the latest version.
If you‘re encountering problems, please use the official packages provided here.
Recommended packages for Fedora & Red Hat (installed before Armadillo):
cmake,
blas-devel,
lapack-devel,
arpack-devel,
atlas-devel.
Recommended packages for Ubuntu & Debian (installed before Armadillo):
cmake,
libopenblas-dev,
liblapack-dev,
libarpack-dev.
If you‘re updating from a previous version,
it‘s a good idea to remove all the old files before updating.
The files are typically in
/usr/include/armadillo* as well as the library files in /usr/lib/ or /usr/lib64/