How To Install libopm-models-doc on Debian 12

Learn how to install libopm-models-doc on Debian 12 with this tutorial. libopm-models-doc is C++ simulation framework for porous media flow – documentation

Introduction

In this tutorial we learn how to install libopm-models-doc on Debian 12.

What is libopm-models-doc

libopm-models-doc is:

The Open Porous Media (OPM) software suite provides libraries and tools for modeling and simulation of porous media processes, especially for simulating CO2 sequestration and improved and enhanced oil recovery

opm-models is a header-only simulation framework which is primary focused on fully implicit models for flow and transport in porous media. It uses finite volume schemes for discretization and automatic differentiation for calculating the Jacobians. Its main objectives is to provide an easily usable, well maintainable, high performance framework which is capable of capturing all macro-scale scenarios relevant for academic research and industrial applications involving flow and transport processes in porous media.

opm-models is a simulation framework which is primary focused on fully implicit models for flow and transport in porous media. It uses finite volume schemes for discretization and automatic differentiation for calculating the Jacobians. Its main objectives is to provide an easily usable, well maintainable, high performance framework which is capable of capturing all macro-scale scenarios relevant for academic research and industrial applications involving flow and transport processes in porous media.

This package provides the documentation of the source code.

There are three methods to install libopm-models-doc 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 libopm-models-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install libopm-models-doc using apt-get by running the following command:

sudo apt-get -y install libopm-models-doc

Install libopm-models-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libopm-models-doc using apt by running the following command:

sudo apt -y install libopm-models-doc

Install libopm-models-doc 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 libopm-models-doc using aptitude by running the following command:

sudo aptitude -y install libopm-models-doc

How To Uninstall libopm-models-doc on Debian 12

To uninstall only the libopm-models-doc package we can use the following command:

sudo apt-get remove libopm-models-doc

Uninstall libopm-models-doc And Its Dependencies

To uninstall libopm-models-doc and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libopm-models-doc

Remove libopm-models-doc Configurations and Data

To remove libopm-models-doc configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libopm-models-doc

Remove libopm-models-doc configuration, data, and all of its dependencies

We can use the following command to remove libopm-models-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libopm-models-doc

Dependencies

libopm-models-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libopm-models-doc package on Debian 12 using different package management tools: apt, apt-get and aptitude.