How To Install python-fisx-common on Ubuntu 18.04

In this tutorial we learn how to install python-fisx-common on Ubuntu 18.04. python-fisx-common is Quantitative X-Ray Fluorescence Analysis Support Library - (Common)

Introduction

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

What is python-fisx-common

python-fisx-common is:

This software library implements formulas to calculate, given an experimental setup, the expected x-ray fluorescence intensities. The library accounts for secondary and tertiary excitation, K, L and M shell emission lines and de-excitation cascade effects. The basic implementation is written in C++ and a Python binding is provided.

This is the common files of the package.

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

sudo apt-get -y install python-fisx-common

Install python-fisx-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-fisx-common

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

sudo aptitude -y install python-fisx-common

How To Uninstall python-fisx-common on Ubuntu 18.04

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

sudo apt-get remove python-fisx-common

Uninstall python-fisx-common And Its Dependencies

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

sudo apt-get -y autoremove python-fisx-common

Remove python-fisx-common Configurations and Data

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

sudo apt-get -y purge python-fisx-common

Remove python-fisx-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-fisx-common

References

Summary

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