How To Install liberfa-dev on Kali Linux

In this tutorial we learn how to install liberfa-dev on Kali Linux. liberfa-dev is Essential Routines for Fundamental Astronomy (development files)

Introduction

In this tutorial we learn how to install liberfa-dev on Kali Linux.

What is liberfa-dev

liberfa-dev is:

ERFA is a C library containing key algorithms for astronomy, and is based on the SOFA library published by the International Astronomical Union (IAU).

It is intended to replicate the functionality of SOFA (aside from possible bugfixes in ERFA that have not yet been included in SOFA), but is licensed under a three-clause BSD license to enable its compatibility with a wide range of open source licenses. Permission for this release has been obtained from the SOFA board.

This package contains the header files and the static library.

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

sudo apt-get -y install liberfa-dev

Install liberfa-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liberfa-dev

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

sudo aptitude -y install liberfa-dev

How To Uninstall liberfa-dev on Kali Linux

To uninstall only the liberfa-dev package we can use the following command:

sudo apt-get remove liberfa-dev

Uninstall liberfa-dev And Its Dependencies

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

sudo apt-get -y autoremove liberfa-dev

Remove liberfa-dev Configurations and Data

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

sudo apt-get -y purge liberfa-dev

Remove liberfa-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liberfa-dev

Dependencies

liberfa-dev have the following dependencies:

References

Summary

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