How To Install libetsf-io-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libetsf-io-dev on Ubuntu 22.04.
What is libetsf-io-dev
libetsf-io-dev is:
ETSF_IO is a library of F90 routines to read/write the ETSF file format.
This package contains the static libraries provided by ETSF_IO to let electronic structure codes read and write ETSF files. It also contains the module file used by the Fortran compiler.
There are three methods to install libetsf-io-dev on Ubuntu 22.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 libetsf-io-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libetsf-io-dev using apt-get by running the following command:
sudo apt-get -y install libetsf-io-dev
Install libetsf-io-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libetsf-io-dev using apt by running the following command:
sudo apt -y install libetsf-io-dev
Install libetsf-io-dev 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 libetsf-io-dev using aptitude by running the following command:
sudo aptitude -y install libetsf-io-dev
How To Uninstall libetsf-io-dev on Ubuntu 22.04
To uninstall only the libetsf-io-dev package we can use the following command:
sudo apt-get remove libetsf-io-dev
Uninstall libetsf-io-dev And Its Dependencies
To uninstall libetsf-io-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libetsf-io-dev
Remove libetsf-io-dev Configurations and Data
To remove libetsf-io-dev configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libetsf-io-dev
Remove libetsf-io-dev configuration, data, and all of its dependencies
We can use the following command to remove libetsf-io-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libetsf-io-dev
References
Summary
In this tutorial we learn how to install libetsf-io-dev package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.