How To Install mpfi on Fedora 34
Introduction
In this tutorial we learn how to install mpfi
on Fedora 34.
What is mpfi
MPFI is intended to be a portable library written in C for arbitrary precision interval arithmetic with intervals represented using MPFR reliable floating-point numbers. It is based on the GNU MP library and on the MPFR library and is part of the latter. The purpose of an arbitrary precision interval arithmetic is on the one hand to get “guaranteed” results, thanks to interval computation, and on the other hand to obtain accurate results, thanks to multiple precision arithmetic. The MPFI library is built upon MPFR in order to benefit from the correct roundings provided by MPFR. Further advantages of using MPFR are its portability and compliance with the IEEE 754 standard for floating-point arithmetic. mpfi 1.5.3 8.fc34 x86_64 44 k mpfi-1.5.3-8.fc34.src.rpm fedora An interval arithmetic library based on MPFR http LGPLv2+ MPFI is intended to be a portable library written in C for arbitrary precision interval arithmetic with intervals represented using MPFR reliable floating-point numbers. It is based on the GNU MP library and on the MPFR library and is part of the latter. The purpose of an arbitrary precision interval arithmetic is on the one hand to get “guaranteed” results, thanks to interval computation, and on the other hand to obtain accurate results, thanks to multiple precision arithmetic. The MPFI library is built upon MPFR in order to benefit from the correct roundings provided by MPFR. Further advantages of using MPFR are its portability and compliance with the IEEE 754 standard for floating-point arithmetic.
We can use yum
or dnf
to install mpfi
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mpfi.
Install mpfi 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 mpfi
using dnf
by running the following command:
sudo dnf -y install mpfi
Install mpfi 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 mpfi
using yum
by running the following command:
sudo yum -y install mpfi
How To Uninstall mpfi on Fedora 34
To uninstall only the mpfi
package we can use the following command:
sudo dnf remove mpfi
mpfi Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/5ef5d665e31af6a20f006cee116cb3fa608828
/usr/lib/libmpfi.so.0
/usr/lib/libmpfi.so.0.0.0
/usr/share/doc/mpfi
/usr/share/doc/mpfi/AUTHORS
/usr/share/doc/mpfi/NEWS
/usr/share/doc/mpfi/TODO
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/7975bb784fbfb96176b1195098cc98f7ec3c38
/usr/lib64/libmpfi.so.0
/usr/lib64/libmpfi.so.0.0.0
/usr/share/doc/mpfi
/usr/share/doc/mpfi/AUTHORS
/usr/share/doc/mpfi/NEWS
/usr/share/doc/mpfi/TODO
References
- [mpfi website](http://perso.ens-lyon.fr/nathalie.revol/software.html http://perso.ens-lyon.fr/nathalie.revol/software.html)
Summary
In this tutorial we learn how to install mpfi
on Fedora 34 using yum and dnf.