How To Install root-smatrix on CentOS 8

root-smatrix is Sparse matrix library for ROOT

Introduction

In this tutorial we learn how to install root-smatrix on CentOS 8.

What is root-smatrix

This package contains the Smatrix library for ROOT.

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

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

sudo dnf -y install root-smatrix

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

sudo yum -y install root-smatrix

How To Uninstall root-smatrix on CentOS 8

To uninstall only the root-smatrix package we can use the following command:

sudo dnf remove root-smatrix

root-smatrix Package Contents on CentOS 8

/usr/include/root/Math/BinaryOpPolicy.h
/usr/include/root/Math/BinaryOperators.h
/usr/include/root/Math/CholeskyDecomp.h
/usr/include/root/Math/CramerInversion.icc
/usr/include/root/Math/CramerInversionSym.icc
/usr/include/root/Math/Dfact.h
/usr/include/root/Math/Dfactir.h
/usr/include/root/Math/Dfinv.h
/usr/include/root/Math/Dinv.h
/usr/include/root/Math/Dsfact.h
/usr/include/root/Math/Dsinv.h
/usr/include/root/Math/Expression.h
/usr/include/root/Math/Functions.h
/usr/include/root/Math/HelperOps.h
/usr/include/root/Math/MConfig.h
/usr/include/root/Math/MatrixFunctions.h
/usr/include/root/Math/MatrixInversion.icc
/usr/include/root/Math/MatrixRepresentationsStatic.h
/usr/include/root/Math/SMatrix.h
/usr/include/root/Math/SMatrix.icc
/usr/include/root/Math/SMatrixDfwd.h
/usr/include/root/Math/SMatrixFfwd.h
/usr/include/root/Math/SVector.h
/usr/include/root/Math/SVector.icc
/usr/include/root/Math/StaticCheck.h
/usr/include/root/Math/UnaryOperators.h
/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/0734d93d0ba9d740884a1f7589b314c3d1188b
/usr/lib64/root/libSmatrix.rootmap
/usr/lib64/root/libSmatrix.so
/usr/lib64/root/libSmatrix.so.6.22
/usr/lib64/root/libSmatrix.so.6.22.08
/usr/lib64/root/libSmatrix32.rootmap
/usr/lib64/root/libSmatrix_G__Smatrix32_rdict.pcm
/usr/lib64/root/libSmatrix_rdict.pcm

References

Summary

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