The GNU Scientific Library, or GSL, is a large collection of functions that are very useful in scientific applications, for example, integration, random number generation, and Fast Fourier Transform among many others. To download and install GSL from source, you can run the following commands.
$ wget https://ftp.gnu.org/gnu/gsl/gsl-latest.tar.gz $ tar -xf gsl-latest.tar.gz $ cd gsl-X.X # Replace X.X with version number. $ ./configure CFLAGS="$CFLAGS -g0 -O3" $ make -j8 # Replace 8 with no. CPU threads. $ make check $ sudo make install
GNU Astronomy Utilities 0.23 manual, July 2024.