How To Install suitesparse on CentOS 7

In this tutorial we learn how to install suitesparse on CentOS 7. suitesparse is A collection of sparse matrix libraries

Introduction

In this tutorial we learn how to install suitesparse on CentOS 7.

What is suitesparse

suitesparse is a collection of libraries for computations involving sparse matrices. The package includes the following libraries BTF permutation to block triangular form (beta) CAMD constrained approximate minimum degree ordering COLAMD column approximate minimum degree ordering CCOLAMD constrained column approximate minimum degree ordering CHOLMOD sparse Cholesky factorization CSparse a concise sparse matrix package CXSparse CSparse extended long int support KLU sparse LU factorization, primarily for circuit simulation LDL a simple LDL factorization SQPR a multithread, multifrontal, rank-revealing sparse QR factorization method UMFPACK sparse LU factorization SuiteSparse_config configuration file for all the above packages. RBio read/write files in Rutherford/Boeing format suitesparse is a collection of libraries for computations involving sparse matrices. The package includes the following libraries BTF permutation to block triangular form (beta) CAMD constrained approximate minimum degree ordering COLAMD column approximate minimum degree ordering CCOLAMD constrained column approximate minimum degree ordering CHOLMOD sparse Cholesky factorization CSparse a concise sparse matrix package CXSparse CSparse extended long int support KLU sparse LU factorization, primarily for circuit simulation LDL a simple LDL factorization SQPR a multithread, multifrontal, rank-revealing sparse QR factorization method UMFPACK sparse LU factorization SuiteSparse_config configuration file for all the above packages. RBio read/write files in Rutherford/Boeing format

We can use yum or dnf to install suitesparse on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install suitesparse.

Install suitesparse on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install suitesparse

Install suitesparse on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install suitesparse

How To Uninstall suitesparse on CentOS 7

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

sudo dnf remove suitesparse

References

Summary

In this tutorial we learn how to install suitesparse on CentOS 7 using yum and dnf.