How To Install ifeffit on Ubuntu 18.04

In this tutorial we learn how to install ifeffit on Ubuntu 18.04. ifeffit is Interactive XAFS analysis program

Introduction

In this tutorial we learn how to install ifeffit on Ubuntu 18.04.

What is ifeffit

ifeffit is:

IFEFFIT is an interactive program for XAFS analysis. It combines the high-quality analysis algorithms of AUTOBK and FEFFIT with graphical display of XAFS data and general data manipulation.

IFEFFIT comes as a command-line program, but the underlying functionality is available as a programming library. The IFEFFIT library can be used from C, Fortran, Tcl, Perl, and Python. This allows a variety of user interfaces (both graphical and non-graphical) to be written around IFEFFIT. Currently, three graphical user interfaces: G.I.FEFFIT, ATHENA/ARTEMIS, and SIXPACK are built on the underlying IFEFFIT library. IFEFFIT and all three GUIs are under active development, but are fairly well tested and ready for use.

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

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

sudo apt-get update

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

sudo apt-get -y install ifeffit

Install ifeffit Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ifeffit using apt by running the following command:

sudo apt -y install ifeffit

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

sudo aptitude -y install ifeffit

How To Uninstall ifeffit on Ubuntu 18.04

To uninstall only the ifeffit package we can use the following command:

sudo apt-get remove ifeffit

Uninstall ifeffit And Its Dependencies

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

sudo apt-get -y autoremove ifeffit

Remove ifeffit Configurations and Data

To remove ifeffit configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ifeffit

Remove ifeffit configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ifeffit

References

Summary

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