How To Install suitesparse-static.x86_64 on Amazon Linux 2

In this tutorial we learn how to install suitesparse-static.x86_64 in Amazon Linux 2. suitesparse-static.x86_64 is Static version of SuiteSparse libraries

Introduction

In this tutorial we learn how to install suitesparse-static.x86_64 on Amazon Linux 2.

What is suitesparse-static.x86_64

The suitesparse-static package contains the statically linkable version of the suitesparse libraries.

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

Install suitesparse-static.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 suitesparse-static.x86_64 using yum by running the following command:

sudo yum -y install suitesparse-static.x86_64

How To Uninstall suitesparse-static.x86_64 on Amazon Linux 2

To uninstall only the suitesparse-static.x86_64 package we can use the following command:

sudo yum remove suitesparse-static.x86_64

suitesparse-static.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libamd.a
/usr/lib64/libbtf.a
/usr/lib64/libcamd.a
/usr/lib64/libccolamd.a
/usr/lib64/libcholmod.a
/usr/lib64/libcolamd.a
/usr/lib64/libcxsparse.a
/usr/lib64/libklu.a
/usr/lib64/libldl.a
/usr/lib64/librbio.a
/usr/lib64/libspqr.a
/usr/lib64/libsuitesparseconfig.a
/usr/lib64/libumfpack.a

References

Summary

In this tutorial we learn how to install suitesparse-static.x86_64 on Amazon Linux 2 using yum.