How To Install etsf-io on Ubuntu 18.04

In this tutorial we learn how to install etsf-io on Ubuntu 18.04. etsf-io is Binary tools to check, merge and read ETSF files

Introduction

In this tutorial we learn how to install etsf-io on Ubuntu 18.04.

What is etsf-io

etsf-io is:

The European Theoretical Spectroscopy Facility (ETSF) is a European network dedicated to providing support and services for ongoing research in academic, government and industrial laboratories.

The ETSF is divided into 7 beamlines, each of which is concerned with a specific scientific topic:

  • Optics ;
  • Energy Loss Spectroscopy ;
  • Quantum Transport ;
  • Time-resolved Spectroscopy ;
  • Photo-emission Spectroscopy ;
  • Vibrational Spectroscopy ;
  • X-Rays Spectroscopy.

To allow the adoption of its recommendations about standardization, the ETSF proposes different libraries and tools implementing or using these specifications, as well as widely usable pieces of software.

ETSF_IO is a library of F90 routines to read/write the ETSF file format. This package contains the user tools to:

  • check file conformance to the specifications;
  • extract data from files;
  • merge multiple files from parallel runs, as specified in the specifications.

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

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

sudo apt-get update

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

sudo apt-get -y install etsf-io

Install etsf-io Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install etsf-io

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

sudo aptitude -y install etsf-io

How To Uninstall etsf-io on Ubuntu 18.04

To uninstall only the etsf-io package we can use the following command:

sudo apt-get remove etsf-io

Uninstall etsf-io And Its Dependencies

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

sudo apt-get -y autoremove etsf-io

Remove etsf-io Configurations and Data

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

sudo apt-get -y purge etsf-io

Remove etsf-io configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge etsf-io

References

Summary

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