How To Install gsl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gsl.x86_64 in Amazon Linux 2. gsl.x86_64 is The GNU Scientific Library for numerical analysis

Introduction

In this tutorial we learn how to install gsl.x86_64 on Amazon Linux 2.

What is gsl.x86_64

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

We can use yum to install gsl.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gsl.x86_64.

Install gsl.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gsl.x86_64

How To Uninstall gsl.x86_64 on Amazon Linux 2

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

sudo yum remove gsl.x86_64

gsl.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gsl-histogram
/usr/bin/gsl-randist
/usr/lib64/libgsl.so.0
/usr/lib64/libgsl.so.0.16.0
/usr/lib64/libgslcblas.so.0
/usr/lib64/libgslcblas.so.0.0.0
/usr/share/doc/gsl-1.15
/usr/share/doc/gsl-1.15/AUTHORS
/usr/share/doc/gsl-1.15/COPYING
/usr/share/doc/gsl-1.15/ChangeLog
/usr/share/doc/gsl-1.15/INSTALL
/usr/share/doc/gsl-1.15/NEWS
/usr/share/doc/gsl-1.15/README
/usr/share/doc/gsl-1.15/THANKS
/usr/share/doc/gsl-1.15/TODO
/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.x86_64 on Amazon Linux 2 using yum.