How To Install lorene-codes-src on Debian 10

Learn how to install lorene-codes-src on Debian 10 with this tutorial. lorene-codes-src is source files of LORENE-based codes

Introduction

In this tutorial we learn how to install lorene-codes-src on Debian 10.

What is lorene-codes-src

lorene-codes-src is:

LORENE is a set of C++ classes to solve various problems arising in numerical relativity, and more generally in computational astrophysics. It provides tools to solve partial differential equations by means of multi-domain spectral methods.

This package contains the source files of several LORENE codes that need to be recompiled for each use case. The liblorene-dev package is necessary to compile those codes.

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

Install lorene-codes-src Using apt-get

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

sudo apt-get update

After updating apt database, We can install lorene-codes-src using apt-get by running the following command:

sudo apt-get -y install lorene-codes-src

Install lorene-codes-src Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lorene-codes-src using apt by running the following command:

sudo apt -y install lorene-codes-src

Install lorene-codes-src 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 lorene-codes-src using aptitude by running the following command:

sudo aptitude -y install lorene-codes-src

How To Uninstall lorene-codes-src on Debian 10

To uninstall only the lorene-codes-src package we can use the following command:

sudo apt-get remove lorene-codes-src

Uninstall lorene-codes-src And Its Dependencies

To uninstall lorene-codes-src and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove lorene-codes-src

Remove lorene-codes-src Configurations and Data

To remove lorene-codes-src configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge lorene-codes-src

Remove lorene-codes-src configuration, data, and all of its dependencies

We can use the following command to remove lorene-codes-src configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lorene-codes-src

Dependencies

lorene-codes-src have the following dependencies:

References

Summary

In this tutorial we learn how to install lorene-codes-src package on Debian 10 using different package management tools: apt, apt-get and aptitude.