How To Install pari on Fedora 34

pari is Number Theory-oriented Computer Algebra System Number Theory-oriented Computer Algebra System

Introduction

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

What is pari

PARI is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves…), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers, etc., and a lot of transcendental functions. This package contains the shared libraries. The interactive calculator PARI/GP is in package pari-gp. pari 2.13.2 2.fc34 x86_64 3.3 M pari-2.13.2-2.fc34.src.rpm updates Number Theory-oriented Computer Algebra System http GPLv2+ PARI is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves…), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers, etc., and a lot of transcendental functions. This package contains the shared libraries. The interactive calculator PARI/GP is in package pari-gp.

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

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

sudo dnf -y install pari

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

sudo yum -y install pari

How To Uninstall pari on Fedora 34

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

sudo dnf remove pari

pari Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/63d5b9e7651c954ad1c74dbd5c501f6d4583b3
/usr/lib64/libpari-gmp-tls.so.2.13.2
/usr/lib64/libpari-gmp-tls.so.7
/usr/lib64/pari
/usr/lib64/pari/pari.cfg
/usr/share/doc/pari
/usr/share/doc/pari/AUTHORS
/usr/share/doc/pari/CHANGES
/usr/share/doc/pari/CHANGES-2.10
/usr/share/doc/pari/CHANGES-2.12
/usr/share/doc/pari/CHANGES-2.2
/usr/share/doc/pari/CHANGES-2.4
/usr/share/doc/pari/CHANGES-2.6
/usr/share/doc/pari/CHANGES-2.8
/usr/share/doc/pari/COMPAT
/usr/share/doc/pari/NEW
/usr/share/doc/pari/README
/usr/share/doc/pari/pari.abignore
/usr/share/licenses/pari
/usr/share/licenses/pari/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/33ad971958ba7dc0fb36a0a52c64aaa410511e
/usr/lib64/libpari-gmp-tls.so.2.13.1
/usr/lib64/libpari-gmp-tls.so.7
/usr/share/doc/pari
/usr/share/doc/pari/AUTHORS
/usr/share/doc/pari/CHANGES
/usr/share/doc/pari/CHANGES-2.10
/usr/share/doc/pari/CHANGES-2.12
/usr/share/doc/pari/CHANGES-2.2
/usr/share/doc/pari/CHANGES-2.4
/usr/share/doc/pari/CHANGES-2.6
/usr/share/doc/pari/CHANGES-2.8
/usr/share/doc/pari/COMPAT
/usr/share/doc/pari/NEW
/usr/share/doc/pari/README
/usr/share/doc/pari/pari.abignore
/usr/share/doc/pari/pari.cfg
/usr/share/licenses/pari
/usr/share/licenses/pari/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/aff0d0cac1f82c49a094bd182f1659855dd096
/usr/lib/libpari-gmp-tls.so.2.13.2
/usr/lib/libpari-gmp-tls.so.7
/usr/lib/pari
/usr/lib/pari/pari.cfg
/usr/share/doc/pari
/usr/share/doc/pari/AUTHORS
/usr/share/doc/pari/CHANGES
/usr/share/doc/pari/CHANGES-2.10
/usr/share/doc/pari/CHANGES-2.12
/usr/share/doc/pari/CHANGES-2.2
/usr/share/doc/pari/CHANGES-2.4
/usr/share/doc/pari/CHANGES-2.6
/usr/share/doc/pari/CHANGES-2.8
/usr/share/doc/pari/COMPAT
/usr/share/doc/pari/NEW
/usr/share/doc/pari/README
/usr/share/doc/pari/pari.abignore
/usr/share/licenses/pari
/usr/share/licenses/pari/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/ab7a42f8334231c06710834bcdeff952515e29
/usr/lib/libpari-gmp-tls.so.2.13.1
/usr/lib/libpari-gmp-tls.so.7
/usr/share/doc/pari
/usr/share/doc/pari/AUTHORS
/usr/share/doc/pari/CHANGES
/usr/share/doc/pari/CHANGES-2.10
/usr/share/doc/pari/CHANGES-2.12
/usr/share/doc/pari/CHANGES-2.2
/usr/share/doc/pari/CHANGES-2.4
/usr/share/doc/pari/CHANGES-2.6
/usr/share/doc/pari/CHANGES-2.8
/usr/share/doc/pari/COMPAT
/usr/share/doc/pari/NEW
/usr/share/doc/pari/README
/usr/share/doc/pari/pari.abignore
/usr/share/doc/pari/pari.cfg
/usr/share/licenses/pari
/usr/share/licenses/pari/COPYING

References

Summary

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