How To Install python-adios on Ubuntu 18.04

In this tutorial we learn how to install python-adios on Ubuntu 18.04. python-adios is Python interface to the ADIOS IO system

Introduction

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

What is python-adios

python-adios is:

This is a Python2 interface to ADIOS.

The Adaptable IO System (ADIOS) provides a simple, flexible way for scientists to describe the data in their code that may need to be written, read, or processed outside of the running simulation. By providing an external to the code XML file describing the various elements, their types, and how you wish to process them this run, the routines in the host code (either Fortran or C) can transparently change how they process the data.

There are three methods to install python-adios 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-adios 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-adios using apt-get by running the following command:

sudo apt-get -y install python-adios

Install python-adios Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-adios

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

sudo aptitude -y install python-adios

How To Uninstall python-adios on Ubuntu 18.04

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

sudo apt-get remove python-adios

Uninstall python-adios And Its Dependencies

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

sudo apt-get -y autoremove python-adios

Remove python-adios Configurations and Data

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

sudo apt-get -y purge python-adios

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

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

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

References

Summary

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