How To Install root-mathcore on CentOS 8

root-mathcore is Core mathematics library for ROOT

Introduction

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

What is root-mathcore

This package contains the MathCore library for ROOT.

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

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

sudo dnf -y install root-mathcore

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

sudo yum -y install root-mathcore

How To Uninstall root-mathcore on CentOS 8

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

sudo dnf remove root-mathcore

root-mathcore Package Contents on CentOS 8

/usr/include/root/Fit
/usr/include/root/Fit/BasicFCN.h
/usr/include/root/Fit/BinData.h
/usr/include/root/Fit/Chi2FCN.h
/usr/include/root/Fit/DataOptions.h
/usr/include/root/Fit/DataRange.h
/usr/include/root/Fit/FcnAdapter.h
/usr/include/root/Fit/FitConfig.h
/usr/include/root/Fit/FitData.h
/usr/include/root/Fit/FitExecutionPolicy.h
/usr/include/root/Fit/FitResult.h
/usr/include/root/Fit/FitUtil.h
/usr/include/root/Fit/Fitter.h
/usr/include/root/Fit/LogLikelihoodFCN.h
/usr/include/root/Fit/ParameterSettings.h
/usr/include/root/Fit/PoissonLikelihoodFCN.h
/usr/include/root/Fit/SparseData.h
/usr/include/root/Fit/UnBinData.h
/usr/include/root/Math/AdaptiveIntegratorMultiDim.h
/usr/include/root/Math/AllIntegrationTypes.h
/usr/include/root/Math/BasicMinimizer.h
/usr/include/root/Math/BrentMethods.h
/usr/include/root/Math/BrentMinimizer1D.h
/usr/include/root/Math/BrentRootFinder.h
/usr/include/root/Math/ChebyshevPol.h
/usr/include/root/Math/CladDerivator.h
/usr/include/root/Math/Delaunay2D.h
/usr/include/root/Math/DistFunc.h
/usr/include/root/Math/DistFuncMathCore.h
/usr/include/root/Math/DistSampler.h
/usr/include/root/Math/DistSamplerOptions.h
/usr/include/root/Math/Error.h
/usr/include/root/Math/Factory.h
/usr/include/root/Math/FitMethodFunction.h
/usr/include/root/Math/Functor.h
/usr/include/root/Math/GaussIntegrator.h
/usr/include/root/Math/GaussLegendreIntegrator.h
/usr/include/root/Math/GenAlgoOptions.h
/usr/include/root/Math/GoFTest.h
/usr/include/root/Math/IFunction.h
/usr/include/root/Math/IFunctionfwd.h
/usr/include/root/Math/IMinimizer1D.h
/usr/include/root/Math/IOptions.h
/usr/include/root/Math/IParamFunction.h
/usr/include/root/Math/IParamFunctionfwd.h
/usr/include/root/Math/IRootFinderMethod.h
/usr/include/root/Math/Integrator.h
/usr/include/root/Math/IntegratorMultiDim.h
/usr/include/root/Math/IntegratorOptions.h
/usr/include/root/Math/KDTree.h
/usr/include/root/Math/KDTree.icc
/usr/include/root/Math/LCGEngine.h
/usr/include/root/Math/Math.h
/usr/include/root/Math/MersenneTwisterEngine.h
/usr/include/root/Math/MinimTransformFunction.h
/usr/include/root/Math/MinimTransformVariable.h
/usr/include/root/Math/Minimizer.h
/usr/include/root/Math/MinimizerOptions.h
/usr/include/root/Math/MinimizerVariableTransformation.h
/usr/include/root/Math/MixMaxEngine.h
/usr/include/root/Math/MixMaxEngine.icc
/usr/include/root/Math/MultiDimParamFunctionAdapter.h
/usr/include/root/Math/OneDimFunctionAdapter.h
/usr/include/root/Math/ParamFunctor.h
/usr/include/root/Math/PdfFunc.h
/usr/include/root/Math/PdfFuncMathCore.h
/usr/include/root/Math/ProbFunc.h
/usr/include/root/Math/ProbFuncMathCore.h
/usr/include/root/Math/QuantFunc.h
/usr/include/root/Math/QuantFuncMathCore.h
/usr/include/root/Math/Random.h
/usr/include/root/Math/RandomFunctions.h
/usr/include/root/Math/RichardsonDerivator.h
/usr/include/root/Math/RootFinder.h
/usr/include/root/Math/SpecFunc.h
/usr/include/root/Math/SpecFuncMathCore.h
/usr/include/root/Math/StdEngine.h
/usr/include/root/Math/TDataPoint.h
/usr/include/root/Math/TDataPoint.icc
/usr/include/root/Math/TDataPointN.h
/usr/include/root/Math/TDataPointN.icc
/usr/include/root/Math/TRandomEngine.h
/usr/include/root/Math/Types.h
/usr/include/root/Math/Util.h
/usr/include/root/Math/VirtualIntegrator.h
/usr/include/root/Math/WrappedFunction.h
/usr/include/root/Math/WrappedParamFunction.h
/usr/include/root/ROOT/RFit.hxx
/usr/include/root/TComplex.h
/usr/include/root/TKDTree.h
/usr/include/root/TKDTreeBinning.h
/usr/include/root/TMath.h
/usr/include/root/TRandom.h
/usr/include/root/TRandom1.h
/usr/include/root/TRandom2.h
/usr/include/root/TRandom3.h
/usr/include/root/TRandomGen.h
/usr/include/root/TStatistic.h
/usr/include/root/VectorizedTMath.h
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/e6e2a46a0fdcc4981113d6e4b1e988e5c5ff68
/usr/lib64/root/libMathCore.rootmap
/usr/lib64/root/libMathCore.so
/usr/lib64/root/libMathCore.so.6.22
/usr/lib64/root/libMathCore.so.6.22.08
/usr/lib64/root/libMathCore_rdict.pcm

References

Summary

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