How To Install root-matrix on CentOS 8

root-matrix is Matrix library for ROOT

Introduction

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

What is root-matrix

This package contains the Matrix library for ROOT.

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

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

sudo dnf -y install root-matrix

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

sudo yum -y install root-matrix

How To Uninstall root-matrix on CentOS 8

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

sudo dnf remove root-matrix

root-matrix Package Contents on CentOS 8

/usr/include/root/TDecompBK.h
/usr/include/root/TDecompBase.h
/usr/include/root/TDecompChol.h
/usr/include/root/TDecompLU.h
/usr/include/root/TDecompQRH.h
/usr/include/root/TDecompSVD.h
/usr/include/root/TDecompSparse.h
/usr/include/root/TMatrix.h
/usr/include/root/TMatrixD.h
/usr/include/root/TMatrixDBase.h
/usr/include/root/TMatrixDBasefwd.h
/usr/include/root/TMatrixDEigen.h
/usr/include/root/TMatrixDLazy.h
/usr/include/root/TMatrixDSparse.h
/usr/include/root/TMatrixDSparsefwd.h
/usr/include/root/TMatrixDSym.h
/usr/include/root/TMatrixDSymEigen.h
/usr/include/root/TMatrixDSymfwd.h
/usr/include/root/TMatrixDUtils.h
/usr/include/root/TMatrixDUtilsfwd.h
/usr/include/root/TMatrixDfwd.h
/usr/include/root/TMatrixF.h
/usr/include/root/TMatrixFBase.h
/usr/include/root/TMatrixFBasefwd.h
/usr/include/root/TMatrixFLazy.h
/usr/include/root/TMatrixFSparse.h
/usr/include/root/TMatrixFSparsefwd.h
/usr/include/root/TMatrixFSym.h
/usr/include/root/TMatrixFSymfwd.h
/usr/include/root/TMatrixFUtils.h
/usr/include/root/TMatrixFUtilsfwd.h
/usr/include/root/TMatrixFfwd.h
/usr/include/root/TMatrixT.h
/usr/include/root/TMatrixTBase.h
/usr/include/root/TMatrixTCramerInv.h
/usr/include/root/TMatrixTLazy.h
/usr/include/root/TMatrixTSparse.h
/usr/include/root/TMatrixTSym.h
/usr/include/root/TMatrixTSymCramerInv.h
/usr/include/root/TMatrixTUtils.h
/usr/include/root/TVector.h
/usr/include/root/TVectorD.h
/usr/include/root/TVectorDfwd.h
/usr/include/root/TVectorF.h
/usr/include/root/TVectorFfwd.h
/usr/include/root/TVectorT.h
/usr/include/root/TVectorfwd.h
/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/a785c463ffb08a23b777c0a8a529e890958cb2
/usr/lib64/root/libMatrix.rootmap
/usr/lib64/root/libMatrix.so
/usr/lib64/root/libMatrix.so.6.22
/usr/lib64/root/libMatrix.so.6.22.08
/usr/lib64/root/libMatrix_rdict.pcm

References

Summary

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