How To Install libgsl23 on Debian 10

Learn how to install libgsl23 on Debian 10 with this tutorial. libgsl23 is GNU Scientific Library (GSL) – library package

Introduction

In this tutorial we learn how to install libgsl23 on Debian 10.

What is libgsl23

libgsl23 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 libgsl23 on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgsl23 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgsl23

Install libgsl23 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgsl23

Install libgsl23 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libgsl23

How To Uninstall libgsl23 on Debian 10

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

sudo apt-get remove libgsl23

Uninstall libgsl23 And Its Dependencies

To uninstall libgsl23 and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libgsl23

Remove libgsl23 Configurations and Data

To remove libgsl23 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libgsl23

Remove libgsl23 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgsl23

Dependencies

libgsl23 have the following dependencies:

References

Summary

In this tutorial we learn how to install libgsl23 package on Debian 10 using different package management tools: apt, apt-get and aptitude.