How To Install gsl on Rocky Linux 8

In this tutorial we learn how to install gsl on Rocky Linux 8. gsl is The GNU Scientific Library for numerical analysis

Introduction

In this tutorial we learn how to install gsl on Rocky Linux 8.

What is gsl

The GNU Scientific Library (GSL) is a collection of routines for numerical analysis, written in C.

We can use yum or dnf to install gsl on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gsl.

Install gsl on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gsl using dnf by running the following command:

sudo dnf -y install gsl

Install gsl on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gsl using yum by running the following command:

sudo yum -y install gsl

How To Uninstall gsl on Rocky Linux 8

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

sudo dnf remove gsl

gsl Package Contents on Rocky Linux 8

/usr/bin/gsl-histogram
/usr/bin/gsl-randist
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/14f5e334da2c788865a92598183bb7bd52bee1
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/439a0118ac1ae7f8c5ee014e71ffdd4c7d56ee
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/70398ae2f0e1ebe1eff35ddaa746795c515dd9
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/6d8200f5fe10ad7f76eb12d4228f858708168f
/usr/lib/libgsl.so.23
/usr/lib/libgsl.so.23.1.0
/usr/lib/libgslcblas.so.0
/usr/lib/libgslcblas.so.0.0.0
/usr/share/doc/gsl
/usr/share/doc/gsl/AUTHORS
/usr/share/doc/gsl/ChangeLog
/usr/share/doc/gsl/NEWS
/usr/share/doc/gsl/README
/usr/share/doc/gsl/THANKS
/usr/share/doc/gsl/TODO
/usr/share/licenses/gsl
/usr/share/licenses/gsl/COPYING
/usr/share/man/man1/gsl-histogram.1.gz
/usr/share/man/man1/gsl-randist.1.gz
/usr/bin/gsl-histogram
/usr/bin/gsl-randist
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/0364cbc9b5f18e953636e6230275742c9031fa
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/69acbd68ccb01e774d504a1b6dd60f6009e501
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/4fe1aed8580b63fee2af5f904bc7320208cebb
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/88dc7b9d5074b57d3f9ac7a28eb37e292b62d7
/usr/lib64/libgsl.so.23
/usr/lib64/libgsl.so.23.1.0
/usr/lib64/libgslcblas.so.0
/usr/lib64/libgslcblas.so.0.0.0
/usr/share/doc/gsl
/usr/share/doc/gsl/AUTHORS
/usr/share/doc/gsl/ChangeLog
/usr/share/doc/gsl/NEWS
/usr/share/doc/gsl/README
/usr/share/doc/gsl/THANKS
/usr/share/doc/gsl/TODO
/usr/share/licenses/gsl
/usr/share/licenses/gsl/COPYING
/usr/share/man/man1/gsl-histogram.1.gz
/usr/share/man/man1/gsl-randist.1.gz

References

Summary

In this tutorial we learn how to install gsl on Rocky Linux 8 using yum and dnf.