Install GNU Scientific library (GSL) on Ubuntu 14.04 via terminal

The GSL source package provides the following binary packages:

  • gsl-bin: GNU Scientific Library (GSL) -- binary package
  • libgsl0-dbg: GNU Scientific Library (GSL) -- debug symbols package
  • libgsl0-dev: GNU Scientific Library (GSL) -- development package
  • libgsl0ldbl: GNU Scientific Library (GSL) -- library package

To install the library package, open a Terminal and type:

sudo apt-get install libgsl0ldbl

The packages for GSL can be found here
You can install just the library by using: apt-get install libgsl0ldbl

You can also install the development package and binary using: apt-get install gsl-bin libgsl0-dev

The resources/docs can also be installed using: apt-get install gsl-doc-info gsl-doc-pdf gsl-ref-html gsl-ref-psdoc

*depending on your setup you may need to use sudo before the apt-get command