How To Install mpsolve on Fedora 34

mpsolve is Multiprecision polynomial solver

Introduction

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

What is mpsolve

MPSolve stands for Multiprecision Polynomial SOLVEr. It aims to provide an easy to use universal blackbox for solving polynomials and secular equations. Its features include - Arbitrary precision approximation. - Guaranteed inclusion radii for the results. - Exploiting of polynomial structures as well as coefficients in a particular domain (i.e. integers or rationals). - It can be specialized for specific classes of polynomials. As an example, the roots of the Mandelbrot polynomial of degree 2,097,151 were computed in about 10 days on a dual Xeon server. This package contains command-line interfaces to mpsolve.

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

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

sudo dnf -y install mpsolve

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

sudo yum -y install mpsolve

How To Uninstall mpsolve on Fedora 34

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

sudo dnf remove mpsolve

mpsolve Package Contents on Fedora 34

/usr/bin/mandelbrot-solver
/usr/bin/mpsolve
/usr/bin/quadratic-solver
/usr/bin/root_of_unity
/usr/bin/secular
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/00c4896d96faea9c6ccfbe2dc2d8a50bc31518
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/9e74c065482950c93cb6c5c7818fddab03b862
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/71a58daf219f9e33596b5fca8e28b506d29f1b
/usr/lib/.build-id/91
/usr/lib/.build-id/91/8301d3833dcbcbc25053a929d4d838d76d186d
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/3c223dafa7253a6b1b12b5c481c03ed04c29b4
/usr/share/man/man1/mandelbrot-solver.1.gz
/usr/share/man/man1/mpsolve.1.gz
/usr/share/man/man1/quadratic-solver.1.gz

References

Summary

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