How To Install armadillo on Fedora 36

In this tutorial we learn how to install armadillo in Fedora 36. armadillo is Fast C++ matrix library with syntax similar to MATLAB and Octave

Introduction

In this tutorial we learn how to install armadillo on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install armadillo.

Install armadillo on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the armadillo package we can use the following command:

sudo dnf remove armadillo

armadillo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/b308c42f7ef1420f0ab77f139f9bcfc0592b69
/usr/lib/libarmadillo.so.10
/usr/lib/libarmadillo.so.10.8.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install armadillo on Fedora 36” linkTitle: “armadillo” type: “docs” description: “In this tutorial we learn how to install armadillo in Fedora 36. armadillo is Fast C++ matrix library with syntax similar to MATLAB and Octave” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/armadillo-featured.png

Introduction

In this tutorial we learn how to install armadillo on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install armadillo.

Install armadillo on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the armadillo package we can use the following command:

sudo dnf remove armadillo

armadillo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/b73f38ac4fd244c3a4fd37ea017be279126429
/usr/lib64/libarmadillo.so.10
/usr/lib64/libarmadillo.so.10.8.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).