How To Install arprec on Fedora 34

arprec is Software package for performing arbitrary precision arithmetic Software package for performing arbitrary precision arithmetic

Introduction

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

What is arprec

ARPREC is a software package for performing arbitrary precision arithmetic. It consists of a revision and extension of Bailey’s earlier MPFUN package, enhanced with special IEEE numerical techniques. Features include * Written in C++ for broad portability and fast execution. * Includes C++ and Fortran 90/95 interfaces based on custom data-types and operator/function overloading, which permit the library to be used with only minor modifications for many conventional C++ and Fortran-90 programs. * Includes all of the usual arithmetic operations, as well as many transcendental functions, including cos, sin, tan, arccos, arcsin, arctan, exp, log, log10, erf, gamma and Bessel functions. * Supports three arbitrary precision data-types and mp_complex. * Supports many mixed-mode operations between arbitrary precision variables or constants and conventional variables or constants. * Includes special library routines, incorporating advanced algorithms for extra-high precision (above 1000 digits) computation. * Includes a number of sample application programs, including programs for quadrature (numerical definite integrals), PLSQ (integer relation finding) and polynomial root finding. * Includes the “Experimental Mathematician’s Toolkit”. This is a self-contained interactive program that performs many operations typical of modern experimental mathematics, including arithmetic expressions, common transcendental functions, infinite series evaluation, definite integrals, polynomial roots, user-defined functions, all evaluated to a user-defined level of numeric precision, up to 1000 decimal digits. arprec 2.2.19 13.fc34 x86_64 222 k arprec-2.2.19-13.fc34.src.rpm fedora Software package for performing arbitrary precision arithmetic http BSD ARPREC is a software package for performing arbitrary precision arithmetic. It consists of a revision and extension of Bailey’s earlier MPFUN package, enhanced with special IEEE numerical techniques. Features include * Written in C++ for broad portability and fast execution. * Includes C++ and Fortran 90/95 interfaces based on custom data-types and operator/function overloading, which permit the library to be used with only minor modifications for many conventional C++ and Fortran-90 programs. * Includes all of the usual arithmetic operations, as well as many transcendental functions, including cos, sin, tan, arccos, arcsin, arctan, exp, log, log10, erf, gamma and Bessel functions. * Supports three arbitrary precision data-types and mp_complex. * Supports many mixed-mode operations between arbitrary precision variables or constants and conventional variables or constants. * Includes special library routines, incorporating advanced algorithms for extra-high precision (above 1000 digits) computation. * Includes a number of sample application programs, including programs for quadrature (numerical definite integrals), PLSQ (integer relation finding) and polynomial root finding. * Includes the “Experimental Mathematician’s Toolkit”. This is a self-contained interactive program that performs many operations typical of modern experimental mathematics, including arithmetic expressions, common transcendental functions, infinite series evaluation, definite integrals, polynomial roots, user-defined functions, all evaluated to a user-defined level of numeric precision, up to 1000 decimal digits.

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

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

sudo dnf -y install arprec

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

sudo yum -y install arprec

How To Uninstall arprec on Fedora 34

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

sudo dnf remove arprec

arprec Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/00d53298b2d2887b9d1833f93d7088a1a6953d
/usr/lib/.build-id/13
/usr/lib/.build-id/13/96f414b9a4fe1721be3a86baefdef03662d3ed
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/378e48161e248ef0ada6b3d759174a136f4b05
/usr/lib64/libarprec.so.0
/usr/lib64/libarprec.so.0.0.0
/usr/lib64/libarprec_f_main.so.0
/usr/lib64/libarprec_f_main.so.0.0.0
/usr/lib64/libarprecmod.so.0
/usr/lib64/libarprecmod.so.0.0.0
/usr/share/doc/arprec
/usr/share/doc/arprec/BSD-LBNL-License.doc
/usr/share/doc/arprec/BSD-LBNL-License.txt
/usr/share/doc/arprec/COPYING
/usr/share/doc/arprec/COPYING.pdf
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/feb38e1e8fa4a1b763c90e6e5834200c1e0758
/usr/lib/.build-id/62
/usr/lib/.build-id/62/7a5228911765153a85cffc57971a617cafc7c4
/usr/lib/.build-id/95
/usr/lib/.build-id/95/ca2b2b8988e33da1299602e82f5aeddab91dd3
/usr/lib/libarprec.so.0
/usr/lib/libarprec.so.0.0.0
/usr/lib/libarprec_f_main.so.0
/usr/lib/libarprec_f_main.so.0.0.0
/usr/lib/libarprecmod.so.0
/usr/lib/libarprecmod.so.0.0.0
/usr/share/doc/arprec
/usr/share/doc/arprec/BSD-LBNL-License.doc
/usr/share/doc/arprec/BSD-LBNL-License.txt
/usr/share/doc/arprec/COPYING
/usr/share/doc/arprec/COPYING.pdf

References

Summary

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