How To Install libnglib-6.2 on Debian 12
Introduction
In this tutorial we learn how to install libnglib-6.2
on Debian 12.
What is libnglib-6.2
libnglib-6.2 is:
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.
This package contains the shared libraries.
There are three methods to install libnglib-6.2
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libnglib-6.2 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libnglib-6.2
using apt-get
by running the following command:
sudo apt-get -y install libnglib-6.2
Install libnglib-6.2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnglib-6.2
using apt
by running the following command:
sudo apt -y install libnglib-6.2
Install libnglib-6.2 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libnglib-6.2
using aptitude
by running the following command:
sudo aptitude -y install libnglib-6.2
How To Uninstall libnglib-6.2 on Debian 12
To uninstall only the libnglib-6.2
package we can use the following command:
sudo apt-get remove libnglib-6.2
Uninstall libnglib-6.2 And Its Dependencies
To uninstall libnglib-6.2
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libnglib-6.2
Remove libnglib-6.2 Configurations and Data
To remove libnglib-6.2
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libnglib-6.2
Remove libnglib-6.2 configuration, data, and all of its dependencies
We can use the following command to remove libnglib-6.2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnglib-6.2
Dependencies
libnglib-6.2 have the following dependencies:
- libc6
- libgcc-s1
- libgl1
- libglu1-mesa
- libmetis5
- libocct-data-exchange-7.6
- libocct-foundation-7.6
- libocct-modeling-algorithms-7.6
- libocct-modeling-data-7.6
- libocct-ocaf-7.6
- libopenmpi3
- libpython3.11
- libstdc++6
- libtcl8.6
- libtogl2
- zlib1g
References
Summary
In this tutorial we learn how to install libnglib-6.2
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.