How To Install libmadlib-dbg on Debian 11

In this tutorial we learn how to install libmadlib-dbg on Debian 11. libmadlib-dbg is mesh adaptation library

Introduction

In this tutorial we learn how to install libmadlib-dbg on Debian 11.

What is libmadlib-dbg

libmadlib-dbg is:

This package contains the debug symbols for MAdLib.

MAdLib is a library that performs global node repositioning and mesh adaptation by local mesh modifications on tetrahedral or triangular meshes. It is designed to frequently adapt the mesh in transient computations. MAdLib is written in C++.

The adaptation procedure is driven by two objectives:

  • make the edge lengths as close as possible to a (non-homogenous) prescribed length,

  • maintain a satisfying element quality everywhere.

MAdLib can be used in transient computations in order to maintain a satisfying element quality (moving boundaries, multiphase flows with interface tracking, …) or/and to apply selective refinements and coarsenings (error estimators based, interface capturing: shocks, free surfaces, …).

There are three methods to install libmadlib-dbg on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmadlib-dbg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libmadlib-dbg using apt-get by running the following command:

sudo apt-get -y install libmadlib-dbg

Install libmadlib-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmadlib-dbg using apt by running the following command:

sudo apt -y install libmadlib-dbg

Install libmadlib-dbg 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 libmadlib-dbg using aptitude by running the following command:

sudo aptitude -y install libmadlib-dbg

How To Uninstall libmadlib-dbg on Debian 11

To uninstall only the libmadlib-dbg package we can use the following command:

sudo apt-get remove libmadlib-dbg

Uninstall libmadlib-dbg And Its Dependencies

To uninstall libmadlib-dbg and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libmadlib-dbg

Remove libmadlib-dbg Configurations and Data

To remove libmadlib-dbg configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libmadlib-dbg

Remove libmadlib-dbg configuration, data, and all of its dependencies

We can use the following command to remove libmadlib-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmadlib-dbg

Dependencies

libmadlib-dbg have the following dependencies:

References

Summary

In this tutorial we learn how to install libmadlib-dbg package on Debian 11 using different package management tools: apt, apt-get and aptitude.