Ubuntu – Installing GSL libraries in Ubuntu 16.04 via terminal

aptsoftware installation

I am having trouble installing the GSL libraries through terminal, I found some command line options such as

sudo apt-get install libgsl0ldbl

but this did not work and I got errors that there are no installation packages found.

How do I go about fixing this and installing gsl through using the command line?

Best Answer

Try:

sudo apt-get install libgsl-dev

It should work on Ubuntu 18.04 as well.