How To Install root-hist on CentOS 8

root-hist is Histogram library for ROOT

Introduction

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

What is root-hist

This package contains a library for histogramming in ROOT.

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

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

sudo dnf -y install root-hist

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

sudo yum -y install root-hist

How To Uninstall root-hist on CentOS 8

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

sudo dnf remove root-hist

root-hist Package Contents on CentOS 8

/usr/include/root/Foption.h
/usr/include/root/HFitInterface.h
/usr/include/root/Math/WrappedMultiTF1.h
/usr/include/root/Math/WrappedTF1.h
/usr/include/root/TAxis.h
/usr/include/root/TAxisModLab.h
/usr/include/root/TBackCompFitter.h
/usr/include/root/TBinomialEfficiencyFitter.h
/usr/include/root/TConfidenceLevel.h
/usr/include/root/TEfficiency.h
/usr/include/root/TF1.h
/usr/include/root/TF12.h
/usr/include/root/TF1AbsComposition.h
/usr/include/root/TF1Convolution.h
/usr/include/root/TF1NormSum.h
/usr/include/root/TF2.h
/usr/include/root/TF3.h
/usr/include/root/TFitResult.h
/usr/include/root/TFitResultPtr.h
/usr/include/root/TFormula.h
/usr/include/root/TFractionFitter.h
/usr/include/root/TGraph.h
/usr/include/root/TGraph2D.h
/usr/include/root/TGraph2DErrors.h
/usr/include/root/TGraphAsymmErrors.h
/usr/include/root/TGraphBentErrors.h
/usr/include/root/TGraphDelaunay.h
/usr/include/root/TGraphDelaunay2D.h
/usr/include/root/TGraphErrors.h
/usr/include/root/TGraphMultiErrors.h
/usr/include/root/TGraphSmooth.h
/usr/include/root/TGraphTime.h
/usr/include/root/TH1.h
/usr/include/root/TH1C.h
/usr/include/root/TH1D.h
/usr/include/root/TH1F.h
/usr/include/root/TH1I.h
/usr/include/root/TH1K.h
/usr/include/root/TH1S.h
/usr/include/root/TH2.h
/usr/include/root/TH2C.h
/usr/include/root/TH2D.h
/usr/include/root/TH2F.h
/usr/include/root/TH2I.h
/usr/include/root/TH2Poly.h
/usr/include/root/TH2S.h
/usr/include/root/TH3.h
/usr/include/root/TH3C.h
/usr/include/root/TH3D.h
/usr/include/root/TH3F.h
/usr/include/root/TH3I.h
/usr/include/root/TH3S.h
/usr/include/root/THLimitsFinder.h
/usr/include/root/THStack.h
/usr/include/root/THn.h
/usr/include/root/THnBase.h
/usr/include/root/THnChain.h
/usr/include/root/THnSparse.h
/usr/include/root/THnSparse_Internal.h
/usr/include/root/TKDE.h
/usr/include/root/TLimit.h
/usr/include/root/TLimitDataSource.h
/usr/include/root/TMultiDimFit.h
/usr/include/root/TMultiGraph.h
/usr/include/root/TNDArray.h
/usr/include/root/TPolyMarker.h
/usr/include/root/TPrincipal.h
/usr/include/root/TProfile.h
/usr/include/root/TProfile2D.h
/usr/include/root/TProfile2Poly.h
/usr/include/root/TProfile3D.h
/usr/include/root/TSVDUnfold.h
/usr/include/root/TSpline.h
/usr/include/root/TVirtualFitter.h
/usr/include/root/TVirtualGraphPainter.h
/usr/include/root/TVirtualHistPainter.h
/usr/include/root/TVirtualPaveStats.h
/usr/include/root/v5
/usr/include/root/v5/TF1Data.h
/usr/include/root/v5/TFormula.h
/usr/include/root/v5/TFormulaPrimitive.h
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/457dd15ef7d9e057ba761e87512a8937d971cd
/usr/lib64/root/libHist.rootmap
/usr/lib64/root/libHist.so
/usr/lib64/root/libHist.so.6.22
/usr/lib64/root/libHist.so.6.22.08
/usr/lib64/root/libHist_rdict.pcm

References

Summary

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