How To Install netgen-mesher on CentOS 7

In this tutorial we learn how to install netgen-mesher on CentOS 7. netgen-mesher is Automatic mesh generation tool

Introduction

In this tutorial we learn how to install netgen-mesher on CentOS 7.

What is netgen-mesher

NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement.

We can use yum or dnf to install netgen-mesher on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install netgen-mesher.

Install netgen-mesher on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install netgen-mesher using yum by running the following command:

sudo yum -y install netgen-mesher

Install netgen-mesher on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install netgen-mesher using dnf by running the following command:

sudo dnf -y install netgen-mesher

How To Uninstall netgen-mesher on CentOS 7

To uninstall only the netgen-mesher package we can use the following command:

sudo dnf remove netgen-mesher

References

Summary

In this tutorial we learn how to install netgen-mesher on CentOS 7 using yum and dnf.