How To Install python-silo on Ubuntu 18.04

In this tutorial we learn how to install python-silo on Ubuntu 18.04. python-silo is Python interface to the SILO Scientific I/O library

Introduction

In this tutorial we learn how to install python-silo on Ubuntu 18.04.

What is python-silo

python-silo is:

This is a Python interface to SILO, a scientific I/O library.

Silo supports gridless (point) meshes, structured meshes, unstructured-zoo and unstructured-arbitrary-polyhedral meshes, block structured AMR meshes, constructive solid geometry (CSG) meshes, piecewise-constant (e.g. zone-centered) and piecewise-linear (e.g. node-centered) variables defined on the node, edge, face or volume elements of meshes as well as the decomposition of meshes into arbitrary subset hierarchies including materials and mixing materials. In addition, Silo supports a wide variety of other useful objects to address various scientific computing application needs. Although the Silo library is a serial library, it has some key features which enable it to be applied quite effectively and scalable in parallel.

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

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

sudo apt-get update

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

sudo apt-get -y install python-silo

Install python-silo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-silo

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

sudo aptitude -y install python-silo

How To Uninstall python-silo on Ubuntu 18.04

To uninstall only the python-silo package we can use the following command:

sudo apt-get remove python-silo

Uninstall python-silo And Its Dependencies

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

sudo apt-get -y autoremove python-silo

Remove python-silo Configurations and Data

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

sudo apt-get -y purge python-silo

Remove python-silo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-silo

References

Summary

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