How To Install mingw64-mpfr on Fedora 36

In this tutorial we learn how to install mingw64-mpfr in Fedora 36. mingw64-mpfr is MinGW C library for multiple-precision floating-point computations

Introduction

In this tutorial we learn how to install mingw64-mpfr on Fedora 36.

What is mingw64-mpfr

The MPFR library is a C library for multiple-precision floating-point computations with “correct rounding”. The MPFR is efficient and also has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit mantissa). MPFR is based on the GMP multiple-precision library. This package contains cross-compiled libraries and development tools for Windows.

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

Install mingw64-mpfr on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mingw64-mpfr using dnf by running the following command:

sudo dnf -y install mingw64-mpfr

Install mingw64-mpfr on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mingw64-mpfr using yum by running the following command:

sudo yum -y install mingw64-mpfr

How To Uninstall mingw64-mpfr on Fedora 36

To uninstall only the mingw64-mpfr package we can use the following command:

sudo dnf remove mingw64-mpfr

mingw64-mpfr Package Contents on Fedora 36

/usr/share/doc/mingw64-mpfr
/usr/share/doc/mingw64-mpfr/COPYING
/usr/share/doc/mingw64-mpfr/COPYING.LESSER
/usr/share/doc/mingw64-mpfr/NEWS
/usr/share/doc/mingw64-mpfr/README
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libmpfr-6.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/mpf2mpfr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/mpfr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libmpfr.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/mpfr.pc

References

Summary

In this tutorial we learn how to install mingw64-mpfr on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).