How To Install mingw32-polyclipping on Fedora 36

In this tutorial we learn how to install mingw32-polyclipping in Fedora 36. mingw32-polyclipping is MinGW Windows Polygon clipping library for the win32 target

Introduction

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

What is mingw32-polyclipping

This package contains the MinGW win32 port of the clipper polygon clipping library. This library primarily performs the boolean clipping operations - intersection, union, difference & xor - on 2D polygons. It also performs polygon offsetting. The library handles complex (self-intersecting) polygons, polygons with holes and polygons with overlapping co-linear edges. Input polygons for clipping can use EvenOdd, NonZero, Positive and Negative filling modes. The clipping code is based on the Vatti clipping algorithm, and outperforms other clipping libraries.

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

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

sudo dnf -y install mingw32-polyclipping

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

sudo yum -y install mingw32-polyclipping

How To Uninstall mingw32-polyclipping on Fedora 36

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

sudo dnf remove mingw32-polyclipping

mingw32-polyclipping Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/libpolyclipping.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/polyclipping
/usr/i686-w64-mingw32/sys-root/mingw/include/polyclipping/clipper.hpp
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpolyclipping.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/polyclipping.pc
/usr/share/doc/mingw32-polyclipping
/usr/share/doc/mingw32-polyclipping/License.txt
/usr/share/doc/mingw32-polyclipping/README

References

Summary

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