How To Install root-roostats on CentOS 8

root-roostats is Statistical tools built on top of RooFit

Introduction

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

What is root-roostats

RooStats is a package containing statistical tools built on top of RooFit.

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

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

sudo dnf -y install root-roostats

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

sudo yum -y install root-roostats

How To Uninstall root-roostats on CentOS 8

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

sudo dnf remove root-roostats

root-roostats Package Contents on CentOS 8

/usr/include/root/RooStats
/usr/include/root/RooStats/AsymptoticCalculator.h
/usr/include/root/RooStats/BayesianCalculator.h
/usr/include/root/RooStats/BernsteinCorrection.h
/usr/include/root/RooStats/CombinedCalculator.h
/usr/include/root/RooStats/ConfInterval.h
/usr/include/root/RooStats/ConfidenceBelt.h
/usr/include/root/RooStats/DebuggingSampler.h
/usr/include/root/RooStats/DebuggingTestStat.h
/usr/include/root/RooStats/DetailedOutputAggregator.h
/usr/include/root/RooStats/FeldmanCousins.h
/usr/include/root/RooStats/FrequentistCalculator.h
/usr/include/root/RooStats/HLFactory.h
/usr/include/root/RooStats/Heaviside.h
/usr/include/root/RooStats/HybridCalculator.h
/usr/include/root/RooStats/HybridCalculatorOriginal.h
/usr/include/root/RooStats/HybridPlot.h
/usr/include/root/RooStats/HybridResult.h
/usr/include/root/RooStats/HypoTestCalculator.h
/usr/include/root/RooStats/HypoTestCalculatorGeneric.h
/usr/include/root/RooStats/HypoTestInverter.h
/usr/include/root/RooStats/HypoTestInverterOriginal.h
/usr/include/root/RooStats/HypoTestInverterPlot.h
/usr/include/root/RooStats/HypoTestInverterResult.h
/usr/include/root/RooStats/HypoTestPlot.h
/usr/include/root/RooStats/HypoTestResult.h
/usr/include/root/RooStats/IntervalCalculator.h
/usr/include/root/RooStats/LikelihoodInterval.h
/usr/include/root/RooStats/LikelihoodIntervalPlot.h
/usr/include/root/RooStats/MCMCCalculator.h
/usr/include/root/RooStats/MCMCInterval.h
/usr/include/root/RooStats/MCMCIntervalPlot.h
/usr/include/root/RooStats/MarkovChain.h
/usr/include/root/RooStats/MaxLikelihoodEstimateTestStat.h
/usr/include/root/RooStats/MetropolisHastings.h
/usr/include/root/RooStats/MinNLLTestStat.h
/usr/include/root/RooStats/ModelConfig.h
/usr/include/root/RooStats/NeymanConstruction.h
/usr/include/root/RooStats/NumEventsTestStat.h
/usr/include/root/RooStats/NumberCountingPdfFactory.h
/usr/include/root/RooStats/NumberCountingUtils.h
/usr/include/root/RooStats/PdfProposal.h
/usr/include/root/RooStats/PointSetInterval.h
/usr/include/root/RooStats/ProfileInspector.h
/usr/include/root/RooStats/ProfileLikelihoodCalculator.h
/usr/include/root/RooStats/ProfileLikelihoodTestStat.h
/usr/include/root/RooStats/ProofConfig.h
/usr/include/root/RooStats/ProposalFunction.h
/usr/include/root/RooStats/ProposalHelper.h
/usr/include/root/RooStats/RatioOfProfiledLikelihoodsTestStat.h
/usr/include/root/RooStats/RooStatsUtils.h
/usr/include/root/RooStats/SPlot.h
/usr/include/root/RooStats/SamplingDistPlot.h
/usr/include/root/RooStats/SamplingDistribution.h
/usr/include/root/RooStats/SequentialProposal.h
/usr/include/root/RooStats/SimpleInterval.h
/usr/include/root/RooStats/SimpleLikelihoodRatioTestStat.h
/usr/include/root/RooStats/TestStatSampler.h
/usr/include/root/RooStats/TestStatistic.h
/usr/include/root/RooStats/ToyMCImportanceSampler.h
/usr/include/root/RooStats/ToyMCSampler.h
/usr/include/root/RooStats/ToyMCStudy.h
/usr/include/root/RooStats/UniformProposal.h
/usr/include/root/RooStats/UpperLimitMCSModule.h
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/1528d04d25fa18857159da6e3385cedccc9428
/usr/lib64/root/libRooStats.rootmap
/usr/lib64/root/libRooStats.so
/usr/lib64/root/libRooStats.so.6.22
/usr/lib64/root/libRooStats.so.6.22.08
/usr/lib64/root/libRooStats_rdict.pcm

References

Summary

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