How To Install getdp-sparskit on Ubuntu 18.04

In this tutorial we learn how to install getdp-sparskit on Ubuntu 18.04. getdp-sparskit is general environment for the treatment of discrete problems

Introduction

In this tutorial we learn how to install getdp-sparskit on Ubuntu 18.04.

What is getdp-sparskit

getdp-sparskit is:

GetDP is a general finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions.

The main feature of GetDP is the closeness between the input data defining discrete problems (written by the user in ASCII data files) and the symbolic mathematical expressions of these problems.

See GetDP’s reference manual for a more thorough overview of GetDP’s capabilities: http://www.geuz.org/getdp

Getdp is compiled with SPARSKIT support

There are three methods to install getdp-sparskit on Ubuntu 18.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 getdp-sparskit Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install getdp-sparskit

Install getdp-sparskit Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install getdp-sparskit

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

sudo aptitude -y install getdp-sparskit

How To Uninstall getdp-sparskit on Ubuntu 18.04

To uninstall only the getdp-sparskit package we can use the following command:

sudo apt-get remove getdp-sparskit

Uninstall getdp-sparskit And Its Dependencies

To uninstall getdp-sparskit and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove getdp-sparskit

Remove getdp-sparskit Configurations and Data

To remove getdp-sparskit configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge getdp-sparskit

Remove getdp-sparskit configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge getdp-sparskit

References

Summary

In this tutorial we learn how to install getdp-sparskit package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.