How To Install sundials-devel on CentOS 8

sundials-devel is Suite of nonlinear solvers (developer files)

Introduction

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

What is sundials-devel

SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers for use in writing mathematical software. This package contains the developer files (.so file, header files).

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

Install sundials-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 sundials-devel using dnf by running the following command:

sudo dnf -y install sundials-devel

Install sundials-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 sundials-devel using yum by running the following command:

sudo yum -y install sundials-devel

How To Uninstall sundials-devel on CentOS 8

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

sudo dnf remove sundials-devel

sundials-devel Package Contents on CentOS 8

/usr/include/arkode
/usr/include/arkode/arkode.h
/usr/include/arkode/arkode_arkstep.h
/usr/include/arkode/arkode_bandpre.h
/usr/include/arkode/arkode_bbdpre.h
/usr/include/arkode/arkode_butcher.h
/usr/include/arkode/arkode_butcher_dirk.h
/usr/include/arkode/arkode_butcher_erk.h
/usr/include/arkode/arkode_erkstep.h
/usr/include/arkode/arkode_ls.h
/usr/include/arkode/arkode_mristep.h
/usr/include/cvode
/usr/include/cvode/cvode.h
/usr/include/cvode/cvode_bandpre.h
/usr/include/cvode/cvode_bbdpre.h
/usr/include/cvode/cvode_diag.h
/usr/include/cvode/cvode_direct.h
/usr/include/cvode/cvode_ls.h
/usr/include/cvode/cvode_spils.h
/usr/include/cvodes
/usr/include/cvodes/cvodes.h
/usr/include/cvodes/cvodes_bandpre.h
/usr/include/cvodes/cvodes_bbdpre.h
/usr/include/cvodes/cvodes_diag.h
/usr/include/cvodes/cvodes_direct.h
/usr/include/cvodes/cvodes_ls.h
/usr/include/cvodes/cvodes_spils.h
/usr/include/ida
/usr/include/ida/ida.h
/usr/include/ida/ida_bbdpre.h
/usr/include/ida/ida_direct.h
/usr/include/ida/ida_ls.h
/usr/include/ida/ida_spils.h
/usr/include/idas
/usr/include/idas/idas.h
/usr/include/idas/idas_bbdpre.h
/usr/include/idas/idas_direct.h
/usr/include/idas/idas_ls.h
/usr/include/idas/idas_spils.h
/usr/include/kinsol
/usr/include/kinsol/kinsol.h
/usr/include/kinsol/kinsol_bbdpre.h
/usr/include/kinsol/kinsol_direct.h
/usr/include/kinsol/kinsol_ls.h
/usr/include/kinsol/kinsol_spils.h
/usr/include/nvector
/usr/include/nvector/nvector_openmp.h
/usr/include/nvector/nvector_serial.h
/usr/include/sundials
/usr/include/sundials/NOTICE
/usr/include/sundials/sundials_band.h
/usr/include/sundials/sundials_config.h
/usr/include/sundials/sundials_dense.h
/usr/include/sundials/sundials_direct.h
/usr/include/sundials/sundials_fconfig.h
/usr/include/sundials/sundials_fnvector.h
/usr/include/sundials/sundials_iterative.h
/usr/include/sundials/sundials_linearsolver.h
/usr/include/sundials/sundials_math.h
/usr/include/sundials/sundials_matrix.h
/usr/include/sundials/sundials_mpi.h
/usr/include/sundials/sundials_mpi_types.h
/usr/include/sundials/sundials_nonlinearsolver.h
/usr/include/sundials/sundials_nvector.h
/usr/include/sundials/sundials_pcg.h
/usr/include/sundials/sundials_sparse.h
/usr/include/sundials/sundials_spbcgs.h
/usr/include/sundials/sundials_spfgmr.h
/usr/include/sundials/sundials_spgmr.h
/usr/include/sundials/sundials_sptfqmr.h
/usr/include/sundials/sundials_types.h
/usr/include/sundials/sundials_version.h
/usr/include/sunlinsol
/usr/include/sunlinsol/sunlinsol_band.h
/usr/include/sunlinsol/sunlinsol_dense.h
/usr/include/sunlinsol/sunlinsol_klu.h
/usr/include/sunlinsol/sunlinsol_pcg.h
/usr/include/sunlinsol/sunlinsol_spbcgs.h
/usr/include/sunlinsol/sunlinsol_spfgmr.h
/usr/include/sunlinsol/sunlinsol_spgmr.h
/usr/include/sunlinsol/sunlinsol_sptfqmr.h
/usr/include/sunmatrix
/usr/include/sunmatrix/sunmatrix_band.h
/usr/include/sunmatrix/sunmatrix_dense.h
/usr/include/sunmatrix/sunmatrix_sparse.h
/usr/include/sunnonlinsol
/usr/include/sunnonlinsol/sunnonlinsol_fixedpoint.h
/usr/include/sunnonlinsol/sunnonlinsol_newton.h
/usr/lib/.build-id
/usr/lib/.build-id/ed/5d84f1625370e5b85629fb73678a9864313710
/usr/lib64/gfortran/modules/sundials
/usr/lib64/gfortran/modules/sundials/fcvode_mod.mod
/usr/lib64/gfortran/modules/sundials/fnvector_openmp_mod.mod
/usr/lib64/gfortran/modules/sundials/fnvector_serial_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_band_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_dense_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_klu_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_pcg_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_spbcgs_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_spfgmr_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_spgmr_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunlinsol_sptfqmr_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunmatrix_band_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunmatrix_dense_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunmatrix_sparse_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunnonlinsol_fixedpoint_mod.mod
/usr/lib64/gfortran/modules/sundials/fsunnonlinsol_newton_mod.mod
/usr/lib64/libsundials_arkode.so
/usr/lib64/libsundials_cvode.so
/usr/lib64/libsundials_cvodes.so
/usr/lib64/libsundials_fcvode_mod.so
/usr/lib64/libsundials_fnvecopenmp.so
/usr/lib64/libsundials_fnvecopenmp_mod.so
/usr/lib64/libsundials_fnvecserial.so
/usr/lib64/libsundials_fnvecserial_mod.so
/usr/lib64/libsundials_fsunlinsolband.so
/usr/lib64/libsundials_fsunlinsolband_mod.so
/usr/lib64/libsundials_fsunlinsoldense.so
/usr/lib64/libsundials_fsunlinsoldense_mod.so
/usr/lib64/libsundials_fsunlinsolklu.so
/usr/lib64/libsundials_fsunlinsolklu_mod.so
/usr/lib64/libsundials_fsunlinsolpcg.so
/usr/lib64/libsundials_fsunlinsolpcg_mod.so
/usr/lib64/libsundials_fsunlinsolspbcgs.so
/usr/lib64/libsundials_fsunlinsolspbcgs_mod.so
/usr/lib64/libsundials_fsunlinsolspfgmr.so
/usr/lib64/libsundials_fsunlinsolspfgmr_mod.so
/usr/lib64/libsundials_fsunlinsolspgmr.so
/usr/lib64/libsundials_fsunlinsolspgmr_mod.so
/usr/lib64/libsundials_fsunlinsolsptfqmr.so
/usr/lib64/libsundials_fsunlinsolsptfqmr_mod.so
/usr/lib64/libsundials_fsunmatrixband.so
/usr/lib64/libsundials_fsunmatrixband_mod.so
/usr/lib64/libsundials_fsunmatrixdense.so
/usr/lib64/libsundials_fsunmatrixdense_mod.so
/usr/lib64/libsundials_fsunmatrixsparse.so
/usr/lib64/libsundials_fsunmatrixsparse_mod.so
/usr/lib64/libsundials_fsunnonlinsolfixedpoint.so
/usr/lib64/libsundials_fsunnonlinsolfixedpoint_mod.so
/usr/lib64/libsundials_fsunnonlinsolnewton.so
/usr/lib64/libsundials_fsunnonlinsolnewton_mod.so
/usr/lib64/libsundials_ida.so
/usr/lib64/libsundials_idas.so
/usr/lib64/libsundials_kinsol.so
/usr/lib64/libsundials_nvecopenmp.so
/usr/lib64/libsundials_nvecserial.so
/usr/lib64/libsundials_sunlinsolband.so
/usr/lib64/libsundials_sunlinsoldense.so
/usr/lib64/libsundials_sunlinsolklu.so
/usr/lib64/libsundials_sunlinsolpcg.so
/usr/lib64/libsundials_sunlinsolspbcgs.so
/usr/lib64/libsundials_sunlinsolspfgmr.so
/usr/lib64/libsundials_sunlinsolspgmr.so
/usr/lib64/libsundials_sunlinsolsptfqmr.so
/usr/lib64/libsundials_sunmatrixband.so
/usr/lib64/libsundials_sunmatrixdense.so
/usr/lib64/libsundials_sunmatrixsparse.so
/usr/lib64/libsundials_sunnonlinsolfixedpoint.so
/usr/lib64/libsundials_sunnonlinsolnewton.so

References

Summary

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