How To Install root-roofit on CentOS 7

In this tutorial we learn how to install root-roofit on CentOS 7. root-roofit is ROOT extension for modeling expected distributions - toolkit

Introduction

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

What is root-roofit

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 RooFit toolkit classes.

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

Install root-roofit on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install root-roofit

Install root-roofit on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install root-roofit

How To Uninstall root-roofit on CentOS 7

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

sudo dnf remove root-roofit

References

Summary

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