How To Install flint on Fedora 34

flint is Fast Library for Number Theory Fast Library for Number Theory

Introduction

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

What is flint

FLINT is a C library for doing number theory, written by William Hart and David Harvey. flint 2.7.1 1.fc34 x86_64 2.7 M flint-2.7.1-1.fc34.src.rpm updates Fast Library for Number Theory http LGPLv2+ and GPLv2+ FLINT is a C library for doing number theory, written by William Hart and David Harvey.

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

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

sudo dnf -y install flint

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

sudo yum -y install flint

How To Uninstall flint on Fedora 34

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

sudo dnf remove flint

flint Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/8072e3ccd0de7732ddaa34a67f51275074d130
/usr/lib/.build-id/81
/usr/lib/.build-id/81/e5d3410fec39c8e2c45891e57c22615c3b6391
/usr/lib/libflint-gc.so.14
/usr/lib/libflint-gc.so.14.0.3
/usr/lib/libflint.so.14
/usr/lib/libflint.so.14.0.3
/usr/share/doc/flint
/usr/share/doc/flint/AUTHORS
/usr/share/doc/flint/NEWS
/usr/share/doc/flint/README
/usr/share/doc/flint/README.hmod_mat.md
/usr/share/flint
/usr/share/flint/CPimport.txt
/usr/share/licenses/flint
/usr/share/licenses/flint/LICENSE
/usr/share/licenses/flint/LICENSE.hmod_mat
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/f5ccfd8bcf3df7d2d71272eefb57abd739f1d6
/usr/lib/.build-id/df
/usr/lib/.build-id/df/298920cea1894139b742fd38214f5a9770315c
/usr/lib64/libflint-gc.so.15
/usr/lib64/libflint-gc.so.15.0.1
/usr/lib64/libflint.so.15
/usr/lib64/libflint.so.15.0.1
/usr/share/doc/flint
/usr/share/doc/flint/AUTHORS
/usr/share/doc/flint/NEWS
/usr/share/doc/flint/README
/usr/share/doc/flint/README.hmod_mat.md
/usr/share/flint
/usr/share/flint/CPimport.txt
/usr/share/licenses/flint
/usr/share/licenses/flint/LICENSE
/usr/share/licenses/flint/LICENSE.hmod_mat
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/2f777b7701193cf9ab7235cb3a34f76ba18d75
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/24b49d31abbb6a7271b390e0a8be79919e3d83
/usr/lib64/libflint-gc.so.14
/usr/lib64/libflint-gc.so.14.0.3
/usr/lib64/libflint.so.14
/usr/lib64/libflint.so.14.0.3
/usr/share/doc/flint
/usr/share/doc/flint/AUTHORS
/usr/share/doc/flint/NEWS
/usr/share/doc/flint/README
/usr/share/doc/flint/README.hmod_mat.md
/usr/share/flint
/usr/share/flint/CPimport.txt
/usr/share/licenses/flint
/usr/share/licenses/flint/LICENSE
/usr/share/licenses/flint/LICENSE.hmod_mat
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/669d8595540fb1a51be7f10f3fc05e780d12bd
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/cde21f99f07bbb7f96cd772e71c5e69739a96b
/usr/lib/libflint-gc.so.15
/usr/lib/libflint-gc.so.15.0.1
/usr/lib/libflint.so.15
/usr/lib/libflint.so.15.0.1
/usr/share/doc/flint
/usr/share/doc/flint/AUTHORS
/usr/share/doc/flint/NEWS
/usr/share/doc/flint/README
/usr/share/doc/flint/README.hmod_mat.md
/usr/share/flint
/usr/share/flint/CPimport.txt
/usr/share/licenses/flint
/usr/share/licenses/flint/LICENSE
/usr/share/licenses/flint/LICENSE.hmod_mat

References

Summary

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