How To Install libgsl25 on Kali Linux

In this tutorial we learn how to install libgsl25 on Kali Linux. libgsl25 is GNU Scientific Library (GSL) – library package

Introduction

In this tutorial we learn how to install libgsl25 on Kali Linux.

What is libgsl25

libgsl25 is:

The GNU Scientific Library (GSL) is a collection of routines for numerical analysis. The routines are written from scratch by the GSL team in C, and present a modern API for C programmers, while allowing wrappers to be written for very high level languages.

GSL includes data types and routines for complex numbers, vectors, matrices, basic linear algebra subroutines (BLAS), eigensystems, simulated annealing, minimization, root finding, pseudo-random numbers, least-squares fitting, fast Fourier transforms (FFT), differential equations, quadrature, Monte Carlo integration, special functions, physical constants, and much more.

This package provides the shared libraries required to run programs compiled with GNU GSL. To compile your own programs you also need to install libgsl-dev.

URL: http://www.gnu.org/software/gsl/

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

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

sudo apt-get update

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

sudo apt-get -y install libgsl25

Install libgsl25 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgsl25

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

sudo aptitude -y install libgsl25

How To Uninstall libgsl25 on Kali Linux

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

sudo apt-get remove libgsl25

Uninstall libgsl25 And Its Dependencies

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

sudo apt-get -y autoremove libgsl25

Remove libgsl25 Configurations and Data

To remove libgsl25 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libgsl25

Remove libgsl25 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgsl25

Dependencies

libgsl25 have the following dependencies:

References

Summary

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