How To Install mingw64-polyclipping on Fedora 36

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

Introduction

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

What is mingw64-polyclipping

This package contains the MinGW win64 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 mingw64-polyclipping on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-polyclipping.

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

sudo dnf -y install mingw64-polyclipping

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

sudo yum -y install mingw64-polyclipping

How To Uninstall mingw64-polyclipping on Fedora 36

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

sudo dnf remove mingw64-polyclipping

mingw64-polyclipping Package Contents on Fedora 36

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

References

Summary

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