How To Install root-roofit-core on CentOS 8

root-roofit-core is ROOT extension for modeling expected distributions - core

Introduction

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

What is root-roofit-core

The RooFit packages provide a toolkit for modeling the expected distribution of events in a physics analysis. Models can be used to perform likelihood fits, produce plots, and generate “toy Monte Carlo” samples for various studies. The RooFit tools are integrated with the object-oriented and interactive ROOT graphical environment. RooFit has been developed for the BaBar collaboration, a high energy physics experiment at the Stanford Linear Accelerator Center, and is primarily targeted to the high-energy physicists using the ROOT analysis environment, but the general nature of the package make it suitable for adoption in different disciplines as well. This package contains the core RooFit classes.

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

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

sudo dnf -y install root-roofit-core

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

sudo yum -y install root-roofit-core

How To Uninstall root-roofit-core on CentOS 8

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

sudo dnf remove root-roofit-core

root-roofit-core Package Contents on CentOS 8

/usr/include/root/BatchData.h
/usr/include/root/BatchHelpers.h
/usr/include/root/Roo1DTable.h
/usr/include/root/RooAICRegistry.h
/usr/include/root/RooAbsAnaConvPdf.h
/usr/include/root/RooAbsArg.h
/usr/include/root/RooAbsBinning.h
/usr/include/root/RooAbsCache.h
/usr/include/root/RooAbsCacheElement.h
/usr/include/root/RooAbsCachedPdf.h
/usr/include/root/RooAbsCachedReal.h
/usr/include/root/RooAbsCategory.h
/usr/include/root/RooAbsCategoryLValue.h
/usr/include/root/RooAbsCollection.h
/usr/include/root/RooAbsData.h
/usr/include/root/RooAbsDataStore.h
/usr/include/root/RooAbsFunc.h
/usr/include/root/RooAbsGenContext.h
/usr/include/root/RooAbsHiddenReal.h
/usr/include/root/RooAbsIntegrator.h
/usr/include/root/RooAbsLValue.h
/usr/include/root/RooAbsMCStudyModule.h
/usr/include/root/RooAbsMoment.h
/usr/include/root/RooAbsNumGenerator.h
/usr/include/root/RooAbsOptTestStatistic.h
/usr/include/root/RooAbsPdf.h
/usr/include/root/RooAbsProxy.h
/usr/include/root/RooAbsReal.h
/usr/include/root/RooAbsRealLValue.h
/usr/include/root/RooAbsRootFinder.h
/usr/include/root/RooAbsSelfCachedPdf.h
/usr/include/root/RooAbsSelfCachedReal.h
/usr/include/root/RooAbsString.h
/usr/include/root/RooAbsStudy.h
/usr/include/root/RooAbsTestStatistic.h
/usr/include/root/RooAcceptReject.h
/usr/include/root/RooAdaptiveIntegratorND.h
/usr/include/root/RooAddGenContext.h
/usr/include/root/RooAddModel.h
/usr/include/root/RooAddPdf.h
/usr/include/root/RooAddition.h
/usr/include/root/RooArgList.h
/usr/include/root/RooArgProxy.h
/usr/include/root/RooArgSet.h
/usr/include/root/RooBanner.h
/usr/include/root/RooBinIntegrator.h
/usr/include/root/RooBinnedGenContext.h
/usr/include/root/RooBinning.h
/usr/include/root/RooBinningCategory.h
/usr/include/root/RooBrentRootFinder.h
/usr/include/root/RooCacheManager.h
/usr/include/root/RooCachedPdf.h
/usr/include/root/RooCachedReal.h
/usr/include/root/RooCatType.h
/usr/include/root/RooCategory.h
/usr/include/root/RooCategoryProxy.h
/usr/include/root/RooChangeTracker.h
/usr/include/root/RooChi2Var.h
/usr/include/root/RooClassFactory.h
/usr/include/root/RooCmdArg.h
/usr/include/root/RooCmdConfig.h
/usr/include/root/RooCompositeDataStore.h
/usr/include/root/RooConstVar.h
/usr/include/root/RooConstraintSum.h
/usr/include/root/RooConvCoefVar.h
/usr/include/root/RooConvGenContext.h
/usr/include/root/RooConvIntegrandBinding.h
/usr/include/root/RooCurve.h
/usr/include/root/RooCustomizer.h
/usr/include/root/RooDLLSignificanceMCSModule.h
/usr/include/root/RooDataHist.h
/usr/include/root/RooDataHistSliceIter.h
/usr/include/root/RooDataProjBinding.h
/usr/include/root/RooDataSet.h
/usr/include/root/RooDataWeightedAverage.h
/usr/include/root/RooDerivative.h
/usr/include/root/RooDirItem.h
/usr/include/root/RooDouble.h
/usr/include/root/RooEffGenContext.h
/usr/include/root/RooEffProd.h
/usr/include/root/RooEfficiency.h
/usr/include/root/RooEllipse.h
/usr/include/root/RooErrorHandler.h
/usr/include/root/RooErrorVar.h
/usr/include/root/RooExpensiveObjectCache.h
/usr/include/root/RooExtendPdf.h
/usr/include/root/RooExtendedBinding.h
/usr/include/root/RooExtendedTerm.h
/usr/include/root/RooFFTConvPdf.h
/usr/include/root/RooFactoryWSTool.h
/usr/include/root/RooFirstMoment.h
/usr/include/root/RooFit.h
/usr/include/root/RooFitLegacy/RooCatTypeLegacy.h
/usr/include/root/RooFitLegacy/RooCategorySharedProperties.h
/usr/include/root/RooFitResult.h
/usr/include/root/RooFoamGenerator.h
/usr/include/root/RooFormula.h
/usr/include/root/RooFormulaVar.h
/usr/include/root/RooFracRemainder.h
/usr/include/root/RooFunctor.h
/usr/include/root/RooGenContext.h
/usr/include/root/RooGenFitStudy.h
/usr/include/root/RooGenFunction.h
/usr/include/root/RooGenProdProj.h
/usr/include/root/RooGenericPdf.h
/usr/include/root/RooGlobalFunc.h
/usr/include/root/RooGrid.h
/usr/include/root/RooHashTable.h
/usr/include/root/RooHelpers.h
/usr/include/root/RooHist.h
/usr/include/root/RooHistError.h
/usr/include/root/RooHistFunc.h
/usr/include/root/RooHistPdf.h
/usr/include/root/RooImproperIntegrator1D.h
/usr/include/root/RooInt.h
/usr/include/root/RooIntegrator1D.h
/usr/include/root/RooIntegrator2D.h
/usr/include/root/RooIntegratorBinding.h
/usr/include/root/RooInvTransform.h
/usr/include/root/RooLinTransBinning.h
/usr/include/root/RooLinearVar.h
/usr/include/root/RooLinkedList.h
/usr/include/root/RooLinkedListElem.h
/usr/include/root/RooLinkedListIter.h
/usr/include/root/RooList.h
/usr/include/root/RooListProxy.h
/usr/include/root/RooMCIntegrator.h
/usr/include/root/RooMCStudy.h
/usr/include/root/RooMPSentinel.h
/usr/include/root/RooMappedCategory.h
/usr/include/root/RooMath.h
/usr/include/root/RooMinimizer.h
/usr/include/root/RooMinimizerFcn.h
/usr/include/root/RooMinuit.h
/usr/include/root/RooMoment.h
/usr/include/root/RooMsgService.h
/usr/include/root/RooMultiCategory.h
/usr/include/root/RooMultiGenFunction.h
/usr/include/root/RooMultiVarGaussian.h
/usr/include/root/RooNLLVar.h
/usr/include/root/RooNameReg.h
/usr/include/root/RooNameSet.h
/usr/include/root/RooNormSetCache.h
/usr/include/root/RooNumCdf.h
/usr/include/root/RooNumConvPdf.h
/usr/include/root/RooNumConvolution.h
/usr/include/root/RooNumGenConfig.h
/usr/include/root/RooNumGenFactory.h
/usr/include/root/RooNumIntConfig.h
/usr/include/root/RooNumIntFactory.h
/usr/include/root/RooNumRunningInt.h
/usr/include/root/RooNumber.h
/usr/include/root/RooObjCacheManager.h
/usr/include/root/RooParamBinning.h
/usr/include/root/RooPlot.h
/usr/include/root/RooPlotable.h
/usr/include/root/RooPolyVar.h
/usr/include/root/RooPrintable.h
/usr/include/root/RooProdGenContext.h
/usr/include/root/RooProdPdf.h
/usr/include/root/RooProduct.h
/usr/include/root/RooProfileLL.h
/usr/include/root/RooProjectedPdf.h
/usr/include/root/RooProofDriverSelector.h
/usr/include/root/RooPullVar.h
/usr/include/root/RooQuasiRandomGenerator.h
/usr/include/root/RooRandom.h
/usr/include/root/RooRandomizeParamMCSModule.h
/usr/include/root/RooRangeBinning.h
/usr/include/root/RooRangeBoolean.h
/usr/include/root/RooRealAnalytic.h
/usr/include/root/RooRealBinding.h
/usr/include/root/RooRealConstant.h
/usr/include/root/RooRealIntegral.h
/usr/include/root/RooRealMPFE.h
/usr/include/root/RooRealProxy.h
/usr/include/root/RooRealSumFunc.h
/usr/include/root/RooRealSumPdf.h
/usr/include/root/RooRealVar.h
/usr/include/root/RooRealVarSharedProperties.h
/usr/include/root/RooRecursiveFraction.h
/usr/include/root/RooRefCountList.h
/usr/include/root/RooResolutionModel.h
/usr/include/root/RooSTLRefCountList.h
/usr/include/root/RooScaledFunc.h
/usr/include/root/RooSecondMoment.h
/usr/include/root/RooSegmentedIntegrator1D.h
/usr/include/root/RooSegmentedIntegrator2D.h
/usr/include/root/RooSentinel.h
/usr/include/root/RooSetPair.h
/usr/include/root/RooSetProxy.h
/usr/include/root/RooSharedProperties.h
/usr/include/root/RooSimGenContext.h
/usr/include/root/RooSimPdfBuilder.h
/usr/include/root/RooSimSplitGenContext.h
/usr/include/root/RooSimWSTool.h
/usr/include/root/RooSimultaneous.h
/usr/include/root/RooSpan.h
/usr/include/root/RooStreamParser.h
/usr/include/root/RooStringVar.h
/usr/include/root/RooStudyManager.h
/usr/include/root/RooStudyPackage.h
/usr/include/root/RooSuperCategory.h
/usr/include/root/RooTFoamBinding.h
/usr/include/root/RooTObjWrap.h
/usr/include/root/RooTable.h
/usr/include/root/RooTemplateProxy.h
/usr/include/root/RooThresholdCategory.h
/usr/include/root/RooTrace.h
/usr/include/root/RooTreeData.h
/usr/include/root/RooTreeDataStore.h
/usr/include/root/RooTruthModel.h
/usr/include/root/RooUniformBinning.h
/usr/include/root/RooUnitTest.h
/usr/include/root/RooVDTHeaders.h
/usr/include/root/RooVectorDataStore.h
/usr/include/root/RooWorkspace.h
/usr/include/root/RooWorkspaceHandle.h
/usr/include/root/RooWrapperPdf.h
/usr/include/root/RooXYChi2Var.h
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/b4f542faae364d57c89ba480925ea88f63ca33
/usr/lib64/root/libRooFitCore.rootmap
/usr/lib64/root/libRooFitCore.so
/usr/lib64/root/libRooFitCore.so.6.22
/usr/lib64/root/libRooFitCore.so.6.22.08
/usr/lib64/root/libRooFitCore_rdict.pcm
/usr/share/gdb/auto-load/usr/lib64/root/__pycache__/libRooFitCore.so.6.22.08-gdb.cpython-36.opt-1.pyc
/usr/share/gdb/auto-load/usr/lib64/root/__pycache__/libRooFitCore.so.6.22.08-gdb.cpython-36.pyc
/usr/share/gdb/auto-load/usr/lib64/root/libRooFitCore.so.6.22.08-gdb.py

References

Summary

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