How To Install mingw32-mpfr on Fedora 36

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

Introduction

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

What is mingw32-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 mingw32-mpfr on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw32-mpfr.

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

sudo dnf -y install mingw32-mpfr

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

sudo yum -y install mingw32-mpfr

How To Uninstall mingw32-mpfr on Fedora 36

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

sudo dnf remove mingw32-mpfr

mingw32-mpfr Package Contents on Fedora 36

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

References

Summary

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