Gsl-2.5

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 9. General Libraries

- Prev

  Grantlee-5.1.0

- Next

  ICU-63.1

- Up
- Home

# Gsl-2.5

## Introduction to Gsl

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://ftp.gnu.org/gnu/gsl/gsl-2.5.tar.gz

- Download (FTP): ftp://ftp.gnu.org/gnu/gsl/gsl-2.5.tar.gz

- Download MD5 sum: 52fcbe147ba413d78841084cb43c95fb

- Download size: 6.9 MB

- Estimated disk space required: 235 MB (with tests, without docs)

- Estimated build time: 1.3 SBU (with tests, without docs)

### Gsl Dependencies

#### Optional

Sphinx with sphinx_rtd_theme

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gsl

## Installation of Gsl

Install Gsl by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

If you have the optional Sphinx package installed, buid the documentation with:

    make html

To test the results, issue: make check.

Now, as the `root` user:

    make install

If you built the documentation, install it (as root) with:

    mkdir                   /usr/share/doc/gsl-2.5 &&
    cp -R doc/_build/html/* /usr/share/doc/gsl-2.5

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: gsl-config, gsl-histogram, and gsl-randist
Installed Libraries: libgslcblas.so and libgsl.so
Installed Directory: /usr/include/gsl and /usr/share/doc/gsl-2.5

### Short Descriptions

gsl-config | is a shell script to get the version number and compiler flags of the installed Gsl library.
gsl-histogram | is a demonstration program for the GNU Scientific Library that computes a histogram from data taken from stdin.
gsl-randist | is a demonstration program for the GNU Scientific Library that generates random samples from various distributions.
`libgslcblas.so` | contains functions that implement a C interface to Basic Linear Algebra Subprograms.
`libgsl.so` | contains functions that provide a collection of numerical routines for scientific computing.

Last updated on 2019-02-16 21:14:14 -0600

- Prev

  Grantlee-5.1.0

- Next

  ICU-63.1

- Up
- Home