How To Install libsphere-dev on Kali Linux

In this tutorial we learn how to install libsphere-dev on Kali Linux. libsphere-dev is Development files for Spherepack scientific library

Introduction

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

What is libsphere-dev

libsphere-dev is:

SPHEREPACK is a collection of FORTRAN programs that facilitates computer modeling of geophysical processes. The package contains programs for computing certain common differential operators including divergence, vorticity, gradients, and the Laplacian of both scalar and vector functions. Programs are also available for inverting these operators. For example, given divergence and vorticity, the package can be used to compute the velocity components. The Laplacian can also be inverted and therefore the package can be used to solve both the scalar and vector Poisson equations. Its use in model development is demonstrated by a sample program that solves the time-dependent non-linear shallow-water equations. Accurate solutions are obtained via the spectral method that uses both scalar and vector spherical harmonic transforms that are available to the user. The package also contains utility programs for computing the associated Legendre functions, Gauss points and weights, and multiple fast Fourier transforms. Programs are provided for both equally-spaced and Gauss distributed latitudinal points as well as programs that transfer data between these grids.

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

sudo apt-get -y install libsphere-dev

Install libsphere-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsphere-dev

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

sudo aptitude -y install libsphere-dev

How To Uninstall libsphere-dev on Kali Linux

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

sudo apt-get remove libsphere-dev

Uninstall libsphere-dev And Its Dependencies

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

sudo apt-get -y autoremove libsphere-dev

Remove libsphere-dev Configurations and Data

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

sudo apt-get -y purge libsphere-dev

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

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

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

Dependencies

libsphere-dev have the following dependencies:

References

Summary

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