How To Install tetgen on Fedora 34

tetgen is A Quality Tetrahedral Mesh Generator A Quality Tetrahedral Mesh Generator

Introduction

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

What is tetgen

TetGen is a program to generate tetrahedral meshes of any 3D polyhedral domains. TetGen generates exact constrained Delaunay tetrahedralizations, boundary conforming Delaunay meshes, and Voronoi partitions. tetgen 1.5.0 19.fc34 x86_64 274 k tetgen-1.5.0-19.fc34.src.rpm fedora A Quality Tetrahedral Mesh Generator http AGPLv3+ TetGen is a program to generate tetrahedral meshes of any 3D polyhedral domains. TetGen generates exact constrained Delaunay tetrahedralizations, boundary conforming Delaunay meshes, and Voronoi partitions.

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

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

sudo dnf -y install tetgen

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

sudo yum -y install tetgen

How To Uninstall tetgen on Fedora 34

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

sudo dnf remove tetgen

tetgen Package Contents on Fedora 34

/usr/bin/tetgen
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/a838abb1cc337c23fcb12a9b7b0bf41b1c03da
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/c983d1cc4c49705a4dd0f1bf2fbd458f74bbe9
/usr/lib/libtet.so.0
/usr/lib/libtet.so.1.5.0
/usr/share/doc/tetgen
/usr/share/doc/tetgen/LICENSE
/usr/share/doc/tetgen/README
/usr/bin/tetgen
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/46fa8d012d39b7f860fd992726f2f7eac5eff1
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/8f23e5aa9f3081db27fae854400c73e42920fb
/usr/lib64/libtet.so.0
/usr/lib64/libtet.so.1.5.0
/usr/share/doc/tetgen
/usr/share/doc/tetgen/LICENSE
/usr/share/doc/tetgen/README

References

Summary

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