How To Install poly2tri on Fedora 34

poly2tri is A 2D constrained Delaunay triangulation library A 2D constrained Delaunay triangulation library

Introduction

In this tutorial we learn how to install poly2tri on Fedora 34.

What is poly2tri

Library based on the paper “Sweep-line algorithm for constrained Delaunay triangulation” by V. Domiter and and B. Zalik. poly2tri 0.0 22.20130501hg26242d0aa7b8.fc34 x86_64 31 k poly2tri-0.0-22.20130501hg26242d0aa7b8.fc34.src.rpm fedora A 2D constrained Delaunay triangulation library https BSD Library based on the paper “Sweep-line algorithm for constrained Delaunay triangulation” by V. Domiter and and B. Zalik.

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

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

sudo dnf -y install poly2tri

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

sudo yum -y install poly2tri

How To Uninstall poly2tri on Fedora 34

To uninstall only the poly2tri package we can use the following command:

sudo dnf remove poly2tri

poly2tri Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/495dd159fd5757ec390898c4bdfcd16351865f
/usr/lib64/libpoly2tri.so.1
/usr/lib64/libpoly2tri.so.1.0
/usr/share/doc/poly2tri
/usr/share/doc/poly2tri/AUTHORS
/usr/share/doc/poly2tri/LICENSE
/usr/share/doc/poly2tri/README
/usr/lib/.build-id
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/238648d738953f476a727a6d2e4c1acf6e4728
/usr/lib/libpoly2tri.so.1
/usr/lib/libpoly2tri.so.1.0
/usr/share/doc/poly2tri
/usr/share/doc/poly2tri/AUTHORS
/usr/share/doc/poly2tri/LICENSE
/usr/share/doc/poly2tri/README

References

Summary

In this tutorial we learn how to install poly2tri on Fedora 34 using yum and dnf.