How To Install root on CentOS 8

root is Numerical data analysis framework

Introduction

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

What is root

The ROOT system provides a set of object oriented frameworks with all the functionality needed to handle and analyze large amounts of data in a very efficient way. Having the data defined as a set of objects, specialized storage methods are used to get direct access to the separate attributes of the selected objects, without having to touch the bulk of the data. Included are histogramming methods in an arbitrary number of dimensions, curve fitting, function evaluation, minimization, graphics and visualization classes to allow the easy setup of an analysis system that can query and process the data interactively or in batch mode, as well as a general parallel processing framework, PROOF, that can considerably speed up an analysis. Thanks to the built-in C++ interpreter cling, the command, the scripting and the programming language are all C++. The interpreter allows for fast prototyping of the macros since it removes the, time consuming, compile/link cycle. It also provides a good environment to learn C++. If more performance is needed the interactively developed macros can be compiled using a C++ compiler via a machine independent transparent compiler interface called ACliC. The system has been designed in such a way that it can query its databases in parallel on clusters of workstations or many-core machines. ROOT is an open system that can be dynamically extended by linking external libraries. This makes ROOT a premier platform on which to build data acquisition, simulation and data analysis systems.

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

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

sudo dnf -y install root

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

sudo yum -y install root

How To Uninstall root on CentOS 8

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

sudo dnf remove root

root Package Contents on CentOS 8

/usr/bin/hadd
/usr/bin/root
/usr/bin/root.exe
/usr/bin/rootn.exe
/usr/bin/roots
/usr/bin/roots.exe
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/dda25d00bd02b590ffc3185af4f7e43c3bc22a
/usr/lib/.build-id/14
/usr/lib/.build-id/14/aa8c7c10dec4ce3a3b1ea49e32682fedd66dc7
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/93985fe0f24e21e5e4310c31596efcc78ab87e
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/b3b253047a0a02ab2c87e3e9c47f47acdb85ac
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/896e3a4cd8c6dd83bc8d1d7c378b943350aab4
/usr/share/applications/root.desktop
/usr/share/emacs/site-lisp/root
/usr/share/emacs/site-lisp/root/root-help.el
/usr/share/emacs/site-lisp/root/root-help.elc
/usr/share/icons/hicolor/48x48/apps/root.png
/usr/share/icons/hicolor/48x48/mimetypes/application-x-root.png
/usr/share/man/man1/hadd.1.gz
/usr/share/man/man1/root.1.gz
/usr/share/man/man1/root.exe.1.gz
/usr/share/man/man1/rootn.exe.1.gz
/usr/share/man/man1/roots.exe.1.gz
/usr/share/mime/packages/root.xml

References

Summary

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