How To Install m4ri on Fedora 34

m4ri is Linear Algebra over F_2 Linear Algebra over F_2

Introduction

In this tutorial we learn how to install m4ri on Fedora 34.

What is m4ri

M4RI is a library for fast arithmetic with dense matrices over F_2. The name M4RI comes from the first implemented algorithm of the Four Russians" inversion algorithm published by Gregory Bard. M4RI is used by the Sage mathematics software and the BRiAl library. m4ri 20200125 4.fc34 x86_64 102 k m4ri-20200125-4.fc34.src.rpm fedora Linear Algebra over F_2 https GPLv2+ M4RI is a library for fast arithmetic with dense matrices over F_2. The name M4RI comes from the first implemented algorithm of the Four Russians" inversion algorithm published by Gregory Bard. M4RI is used by the Sage mathematics software and the BRiAl library.

We can use yum or dnf to install m4ri on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install m4ri.

Install m4ri 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 m4ri using dnf by running the following command:

sudo dnf -y install m4ri

Install m4ri 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 m4ri using yum by running the following command:

sudo yum -y install m4ri

How To Uninstall m4ri on Fedora 34

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

sudo dnf remove m4ri

m4ri Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/04db02cab4afe262a35b352b157d928a38c4d1
/usr/lib/libm4ri-0.0.20200125.so
/usr/share/doc/m4ri
/usr/share/doc/m4ri/AUTHORS
/usr/share/licenses/m4ri
/usr/share/licenses/m4ri/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/ad0b1c5b3593beb305b2fb184fae31109bb7a4
/usr/lib64/libm4ri-0.0.20200125.so
/usr/share/doc/m4ri
/usr/share/doc/m4ri/AUTHORS
/usr/share/licenses/m4ri
/usr/share/licenses/m4ri/COPYING

References

Summary

In this tutorial we learn how to install m4ri on Fedora 34 using yum and dnf.