How To Install esys-particle on Ubuntu 18.04

In this tutorial we learn how to install esys-particle on Ubuntu 18.04. esys-particle is Software for particle-based numerical modelling. MPI version.

Introduction

In this tutorial we learn how to install esys-particle on Ubuntu 18.04.

What is esys-particle

esys-particle is:

ESyS-Particle is Open Source software for particle-based numerical modelling. The software implements the Discrete Element Method (DEM), a widely used technique for modelling processes involving large deformations, granular flow and/or fragmentation. ESyS-Particle is designed for execution on parallel supercomputers, clusters or multi-core PCs running a Linux-based operating system. The C++ simulation engine implements spatial domain decomposition via the Message Passing Interface (MPI). A Python wrapper API provides flexibility in the design of numerical models, specification of modelling parameters and contact logic, and analysis of simulation data. ESyS-Particle has been utilised to simulate earthquake nucleation, comminution in shear cells, silo flow, rock fragmentation, and fault gouge evolution, to name but a few applications.

There are three methods to install esys-particle 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 esys-particle Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install esys-particle

Install esys-particle Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install esys-particle

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

sudo aptitude -y install esys-particle

How To Uninstall esys-particle on Ubuntu 18.04

To uninstall only the esys-particle package we can use the following command:

sudo apt-get remove esys-particle

Uninstall esys-particle And Its Dependencies

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

sudo apt-get -y autoremove esys-particle

Remove esys-particle Configurations and Data

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

sudo apt-get -y purge esys-particle

Remove esys-particle configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge esys-particle

References

Summary

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