How To Install lorene on Ubuntu 20.04
Introduction
In this tutorial we learn how to install lorene
on Ubuntu 20.04.
What is lorene
lorene 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 metapackage depends on all of the LORENE software components. The reference guide is available in the lorene-doc package.
There are three methods to install lorene
on Ubuntu 20.04. 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 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
using apt-get
by running the following command:
sudo apt-get -y install lorene
Install lorene Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lorene
using apt
by running the following command:
sudo apt -y install lorene
Install lorene 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install lorene
using aptitude
by running the following command:
sudo aptitude -y install lorene
How To Uninstall lorene on Ubuntu 20.04
To uninstall only the lorene
package we can use the following command:
sudo apt-get remove lorene
Uninstall lorene And Its Dependencies
To uninstall lorene
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove lorene
Remove lorene Configurations and Data
To remove lorene
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge lorene
Remove lorene configuration, data, and all of its dependencies
We can use the following command to remove lorene
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lorene
References
Summary
In this tutorial we learn how to install lorene
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.