How To Install armadillo on Fedora 34
Introduction
In this tutorial we learn how to install armadillo
on Fedora 34.
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. armadillo 10.6.0 2.fc34 x86_64 35 k armadillo-10.6.0-2.fc34.src.rpm updates Fast C++ matrix library with syntax similar to MATLAB and Octave http ASL 2.0 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install armadillo.
Install armadillo on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install armadillo
using dnf
by running the following command:
sudo dnf -y install armadillo
Install armadillo on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the armadillo
package we can use the following command:
sudo dnf remove armadillo
armadillo Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/e8f1940ee890a05e7a2ed69b68a0e76442e026
/usr/lib/libarmadillo.so.10
/usr/lib/libarmadillo.so.10.6.0
/usr/share/licenses/armadillo
/usr/share/licenses/armadillo/LICENSE.txt
/usr/share/licenses/armadillo/NOTICE.txt
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/3d872374df17c0809f758e8060f070cc490c97
/usr/lib64/libarmadillo.so.10
/usr/lib64/libarmadillo.so.10.6.0
/usr/share/licenses/armadillo
/usr/share/licenses/armadillo/LICENSE.txt
/usr/share/licenses/armadillo/NOTICE.txt
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/ac03222f0a9c685517529ff12aa5ea64b13a37
/usr/lib64/libarmadillo.so.10
/usr/lib64/libarmadillo.so.10.2.0
/usr/share/licenses/armadillo
/usr/share/licenses/armadillo/LICENSE.txt
/usr/share/licenses/armadillo/NOTICE.txt
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/03c529cc22efd0ebd0d1b393469d9acb824505
/usr/lib/libarmadillo.so.10
/usr/lib/libarmadillo.so.10.2.0
/usr/share/licenses/armadillo
/usr/share/licenses/armadillo/LICENSE.txt
/usr/share/licenses/armadillo/NOTICE.txt
References
- [armadillo website](http://arma.sourceforge.net/ http://arma.sourceforge.net/)
Summary
In this tutorial we learn how to install armadillo
on Fedora 34 using yum and dnf.