How To Install armadillo on Rocky Linux 8
Introduction
In this tutorial we learn how to install armadillo on Rocky Linux 8.
What is armadillo
Armadillo is a C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use. Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. Various matrix decompositions are provided through optional integration with LAPACK and ATLAS libraries. A delayed evaluation approach is employed (during compile time) to combine several operations into one and reduce (or eliminate) the need for temporaries. This is accomplished through recursive templates and template meta-programming. This library is useful if C++ has been decided as the language of choice (due to speed and/or integration capabilities), rather than another language like Matlab or Octave.
We can use yum or dnf to install armadillo on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install armadillo.
Install armadillo on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install armadillo using dnf by running the following command:
sudo dnf -y install armadillo
Install armadillo on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install armadillo using yum by running the following command:
sudo yum -y install armadillo
How To Uninstall armadillo on Rocky Linux 8
To uninstall only the armadillo package we can use the following command:
sudo dnf remove armadillo
armadillo Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/00c3477cb9fc6a616611cd80fc1748212e7645
/usr/lib64/libarmadillo.so.9
/usr/lib64/libarmadillo.so.9.700.2
/usr/share/licenses/armadillo
/usr/share/licenses/armadillo/LICENSE.txt
/usr/share/licenses/armadillo/NOTICE.txt
References
Summary
In this tutorial we learn how to install armadillo on Rocky Linux 8 using yum and dnf.