How To Install python3-erfa on Kali Linux

In this tutorial we learn how to install python3-erfa on Kali Linux. python3-erfa is Python bindings for ERFA routines

Introduction

In this tutorial we learn how to install python3-erfa on Kali Linux.

What is python3-erfa

python3-erfa is:

PyERFA provides Python bindings for the ERFA library (Essential Routines for Fundamental Astronomy), a C library containing key algorithms for astronomy, which is based on the SOFA library published by the International Astronomical Union (IAU). All C routines are wrapped as Numpy universal functions, so that they can be called with scalar or array inputs.

There are three methods to install python3-erfa on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-erfa Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-erfa

Install python3-erfa Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-erfa

Install python3-erfa Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-erfa using aptitude by running the following command:

sudo aptitude -y install python3-erfa

How To Uninstall python3-erfa on Kali Linux

To uninstall only the python3-erfa package we can use the following command:

sudo apt-get remove python3-erfa

Uninstall python3-erfa And Its Dependencies

To uninstall python3-erfa and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-erfa

Remove python3-erfa Configurations and Data

To remove python3-erfa configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-erfa

Remove python3-erfa configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-erfa

Dependencies

python3-erfa have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-erfa package on Kali Linux using different package management tools: apt, apt-get and aptitude.