How To Install suitesparse-devel on CentOS 8

suitesparse-devel is Development headers for SuiteSparse Development headers for SuiteSparse

Introduction

In this tutorial we learn how to install suitesparse-devel on CentOS 8.

What is suitesparse-devel

The suitesparse-devel package contains files needed for developing applications which use the suitesparse libraries. suitesparse-devel 4.4.6 11.el8 x86_64 144 k suitesparse-4.4.6-11.el8.src.rpm powertools Development headers for SuiteSparse http (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+ The suitesparse-devel package contains files needed for developing applications which use the suitesparse libraries.

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

Install suitesparse-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install suitesparse-devel

Install suitesparse-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install suitesparse-devel

How To Uninstall suitesparse-devel on CentOS 8

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

sudo dnf remove suitesparse-devel

suitesparse-devel Package Contents on CentOS 8

/usr/include/suitesparse
/usr/include/suitesparse/RBio.h
/usr/include/suitesparse/SuiteSparseQR.hpp
/usr/include/suitesparse/SuiteSparseQR_C.h
/usr/include/suitesparse/SuiteSparseQR_definitions.h
/usr/include/suitesparse/SuiteSparse_config.h
/usr/include/suitesparse/amd.h
/usr/include/suitesparse/amd_internal.h
/usr/include/suitesparse/btf.h
/usr/include/suitesparse/btf_internal.h
/usr/include/suitesparse/camd.h
/usr/include/suitesparse/camd_internal.h
/usr/include/suitesparse/ccolamd.h
/usr/include/suitesparse/cholmod.h
/usr/include/suitesparse/cholmod_blas.h
/usr/include/suitesparse/cholmod_camd.h
/usr/include/suitesparse/cholmod_check.h
/usr/include/suitesparse/cholmod_cholesky.h
/usr/include/suitesparse/cholmod_complexity.h
/usr/include/suitesparse/cholmod_config.h
/usr/include/suitesparse/cholmod_core.h
/usr/include/suitesparse/cholmod_function.h
/usr/include/suitesparse/cholmod_gpu.h
/usr/include/suitesparse/cholmod_gpu_kernels.h
/usr/include/suitesparse/cholmod_internal.h
/usr/include/suitesparse/cholmod_io64.h
/usr/include/suitesparse/cholmod_matrixops.h
/usr/include/suitesparse/cholmod_modify.h
/usr/include/suitesparse/cholmod_partition.h
/usr/include/suitesparse/cholmod_supernodal.h
/usr/include/suitesparse/cholmod_template.h
/usr/include/suitesparse/colamd.h
/usr/include/suitesparse/cs.h
/usr/include/suitesparse/klu.h
/usr/include/suitesparse/klu_internal.h
/usr/include/suitesparse/klu_version.h
/usr/include/suitesparse/ldl.h
/usr/include/suitesparse/spqr.hpp
/usr/include/suitesparse/spqrgpu.hpp
/usr/include/suitesparse/umfpack.h
/usr/include/suitesparse/umfpack_col_to_triplet.h
/usr/include/suitesparse/umfpack_defaults.h
/usr/include/suitesparse/umfpack_free_numeric.h
/usr/include/suitesparse/umfpack_free_symbolic.h
/usr/include/suitesparse/umfpack_get_determinant.h
/usr/include/suitesparse/umfpack_get_lunz.h
/usr/include/suitesparse/umfpack_get_numeric.h
/usr/include/suitesparse/umfpack_get_symbolic.h
/usr/include/suitesparse/umfpack_global.h
/usr/include/suitesparse/umfpack_load_numeric.h
/usr/include/suitesparse/umfpack_load_symbolic.h
/usr/include/suitesparse/umfpack_numeric.h
/usr/include/suitesparse/umfpack_qsymbolic.h
/usr/include/suitesparse/umfpack_report_control.h
/usr/include/suitesparse/umfpack_report_info.h
/usr/include/suitesparse/umfpack_report_matrix.h
/usr/include/suitesparse/umfpack_report_numeric.h
/usr/include/suitesparse/umfpack_report_perm.h
/usr/include/suitesparse/umfpack_report_status.h
/usr/include/suitesparse/umfpack_report_symbolic.h
/usr/include/suitesparse/umfpack_report_triplet.h
/usr/include/suitesparse/umfpack_report_vector.h
/usr/include/suitesparse/umfpack_save_numeric.h
/usr/include/suitesparse/umfpack_save_symbolic.h
/usr/include/suitesparse/umfpack_scale.h
/usr/include/suitesparse/umfpack_solve.h
/usr/include/suitesparse/umfpack_symbolic.h
/usr/include/suitesparse/umfpack_tictoc.h
/usr/include/suitesparse/umfpack_timer.h
/usr/include/suitesparse/umfpack_transpose.h
/usr/include/suitesparse/umfpack_triplet_to_col.h
/usr/include/suitesparse/umfpack_wsolve.h
/usr/lib/libamd.so
/usr/lib/libbtf.so
/usr/lib/libcamd.so
/usr/lib/libccolamd.so
/usr/lib/libcholmod.so
/usr/lib/libcolamd.so
/usr/lib/libcxsparse.so
/usr/lib/libklu.so
/usr/lib/libldl.so
/usr/lib/librbio.so
/usr/lib/libspqr.so
/usr/lib/libsuitesparseconfig.so
/usr/lib/libumfpack.so
/usr/include/suitesparse
/usr/include/suitesparse/RBio.h
/usr/include/suitesparse/SuiteSparseQR.hpp
/usr/include/suitesparse/SuiteSparseQR_C.h
/usr/include/suitesparse/SuiteSparseQR_definitions.h
/usr/include/suitesparse/SuiteSparse_config.h
/usr/include/suitesparse/amd.h
/usr/include/suitesparse/amd_internal.h
/usr/include/suitesparse/btf.h
/usr/include/suitesparse/btf_internal.h
/usr/include/suitesparse/camd.h
/usr/include/suitesparse/camd_internal.h
/usr/include/suitesparse/ccolamd.h
/usr/include/suitesparse/cholmod.h
/usr/include/suitesparse/cholmod_blas.h
/usr/include/suitesparse/cholmod_camd.h
/usr/include/suitesparse/cholmod_check.h
/usr/include/suitesparse/cholmod_cholesky.h
/usr/include/suitesparse/cholmod_complexity.h
/usr/include/suitesparse/cholmod_config.h
/usr/include/suitesparse/cholmod_core.h
/usr/include/suitesparse/cholmod_function.h
/usr/include/suitesparse/cholmod_gpu.h
/usr/include/suitesparse/cholmod_gpu_kernels.h
/usr/include/suitesparse/cholmod_internal.h
/usr/include/suitesparse/cholmod_io64.h
/usr/include/suitesparse/cholmod_matrixops.h
/usr/include/suitesparse/cholmod_modify.h
/usr/include/suitesparse/cholmod_partition.h
/usr/include/suitesparse/cholmod_supernodal.h
/usr/include/suitesparse/cholmod_template.h
/usr/include/suitesparse/colamd.h
/usr/include/suitesparse/cs.h
/usr/include/suitesparse/klu.h
/usr/include/suitesparse/klu_internal.h
/usr/include/suitesparse/klu_version.h
/usr/include/suitesparse/ldl.h
/usr/include/suitesparse/spqr.hpp
/usr/include/suitesparse/spqrgpu.hpp
/usr/include/suitesparse/umfpack.h
/usr/include/suitesparse/umfpack_col_to_triplet.h
/usr/include/suitesparse/umfpack_defaults.h
/usr/include/suitesparse/umfpack_free_numeric.h
/usr/include/suitesparse/umfpack_free_symbolic.h
/usr/include/suitesparse/umfpack_get_determinant.h
/usr/include/suitesparse/umfpack_get_lunz.h
/usr/include/suitesparse/umfpack_get_numeric.h
/usr/include/suitesparse/umfpack_get_symbolic.h
/usr/include/suitesparse/umfpack_global.h
/usr/include/suitesparse/umfpack_load_numeric.h
/usr/include/suitesparse/umfpack_load_symbolic.h
/usr/include/suitesparse/umfpack_numeric.h
/usr/include/suitesparse/umfpack_qsymbolic.h
/usr/include/suitesparse/umfpack_report_control.h
/usr/include/suitesparse/umfpack_report_info.h
/usr/include/suitesparse/umfpack_report_matrix.h
/usr/include/suitesparse/umfpack_report_numeric.h
/usr/include/suitesparse/umfpack_report_perm.h
/usr/include/suitesparse/umfpack_report_status.h
/usr/include/suitesparse/umfpack_report_symbolic.h
/usr/include/suitesparse/umfpack_report_triplet.h
/usr/include/suitesparse/umfpack_report_vector.h
/usr/include/suitesparse/umfpack_save_numeric.h
/usr/include/suitesparse/umfpack_save_symbolic.h
/usr/include/suitesparse/umfpack_scale.h
/usr/include/suitesparse/umfpack_solve.h
/usr/include/suitesparse/umfpack_symbolic.h
/usr/include/suitesparse/umfpack_tictoc.h
/usr/include/suitesparse/umfpack_timer.h
/usr/include/suitesparse/umfpack_transpose.h
/usr/include/suitesparse/umfpack_triplet_to_col.h
/usr/include/suitesparse/umfpack_wsolve.h
/usr/lib64/libamd.so
/usr/lib64/libbtf.so
/usr/lib64/libcamd.so
/usr/lib64/libccolamd.so
/usr/lib64/libcholmod.so
/usr/lib64/libcolamd.so
/usr/lib64/libcxsparse.so
/usr/lib64/libklu.so
/usr/lib64/libldl.so
/usr/lib64/librbio.so
/usr/lib64/libspqr.so
/usr/lib64/libsuitesparseconfig.so
/usr/lib64/libumfpack.so

References

Summary

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