How To Install root-roofit-more on CentOS 7

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

Introduction

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

What is root-roofit-more

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 RooFit classes that use the mathmore library.

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

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

sudo yum -y install root-roofit-more

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

sudo dnf -y install root-roofit-more

How To Uninstall root-roofit-more on CentOS 7

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

sudo dnf remove root-roofit-more

References

Summary

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