How To Install root-hist-factory on Rocky Linux 8

In this tutorial we learn how to install root-hist-factory on Rocky Linux 8. root-hist-factory is RooFit PDFs from ROOT histograms

Introduction

In this tutorial we learn how to install root-hist-factory on Rocky Linux 8.

What is root-hist-factory

Create RooFit probability density functions from ROOT histograms.

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

Install root-hist-factory on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install root-hist-factory using dnf by running the following command:

sudo dnf -y install root-hist-factory

Install root-hist-factory on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install root-hist-factory using yum by running the following command:

sudo yum -y install root-hist-factory

How To Uninstall root-hist-factory on Rocky Linux 8

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

sudo dnf remove root-hist-factory

root-hist-factory Package Contents on Rocky Linux 8

/usr/bin/hist2workspace
/usr/bin/prepareHistFactory
/usr/include/root/HFMsgService.h
/usr/include/root/RooStats/HistFactory
/usr/include/root/RooStats/HistFactory/Asimov.h
/usr/include/root/RooStats/HistFactory/Channel.h
/usr/include/root/RooStats/HistFactory/ConfigParser.h
/usr/include/root/RooStats/HistFactory/Data.h
/usr/include/root/RooStats/HistFactory/EstimateSummary.h
/usr/include/root/RooStats/HistFactory/FlexibleInterpVar.h
/usr/include/root/RooStats/HistFactory/HistFactoryException.h
/usr/include/root/RooStats/HistFactory/HistFactoryModelUtils.h
/usr/include/root/RooStats/HistFactory/HistFactoryNavigation.h
/usr/include/root/RooStats/HistFactory/HistFactorySimultaneous.h
/usr/include/root/RooStats/HistFactory/HistRef.h
/usr/include/root/RooStats/HistFactory/HistoToWorkspaceFactory.h
/usr/include/root/RooStats/HistFactory/HistoToWorkspaceFactoryFast.h
/usr/include/root/RooStats/HistFactory/LinInterpVar.h
/usr/include/root/RooStats/HistFactory/MakeModelAndMeasurementsFast.h
/usr/include/root/RooStats/HistFactory/Measurement.h
/usr/include/root/RooStats/HistFactory/ParamHistFunc.h
/usr/include/root/RooStats/HistFactory/PiecewiseInterpolation.h
/usr/include/root/RooStats/HistFactory/PreprocessFunction.h
/usr/include/root/RooStats/HistFactory/RooBarlowBeestonLL.h
/usr/include/root/RooStats/HistFactory/Sample.h
/usr/include/root/RooStats/HistFactory/Systematics.h
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/07bc591469f0319090a1397e6f1cf97d1a6222
/usr/lib/.build-id/a4/1cd48571af9b97f65c652ecc9e337a19eb807f
/usr/lib64/root/libHistFactory.rootmap
/usr/lib64/root/libHistFactory.so
/usr/lib64/root/libHistFactory.so.6.22
/usr/lib64/root/libHistFactory.so.6.22.08
/usr/lib64/root/libHistFactory_rdict.pcm
/usr/share/doc/root-hist-factory
/usr/share/doc/root-hist-factory/README
/usr/share/man/man1/hist2workspace.1.gz
/usr/share/man/man1/prepareHistFactory.1.gz
/usr/share/root/HistFactorySchema.dtd

References

Summary

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