How To Install root on Fedora 34

root is Numerical data analysis framework

Introduction

In this tutorial we learn how to install root on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install root.

Install root on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove root

root Package Contents on Fedora 34

/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/18
/usr/lib/.build-id/18/e3a415750d9d020e9ce20105bd82e9b295edbb
/usr/lib/.build-id/88
/usr/lib/.build-id/88/b5a2bb60648c1a7c6f892ec3184aea4e4b9c1a
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/2eb1685f2806277e212b5582e0a122de25cbed
/usr/lib/.build-id/da
/usr/lib/.build-id/da/8e36c53aa8439effe0376efec85abc5e3429a8
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/5fece83c70222a15ee6a45bba83b6581a1024a
/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
/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/44
/usr/lib/.build-id/44/c8fb70aa599610ef48092bf91b01614831683e
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/7c552af6bfaf16ef3cf11d41424075e50d1e03
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/d3b115d68fc04c4bf314bd3820a4f67a507c97
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/eb07a9973ef786a6ebfc404a91cb405a64853a
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/7f5c2206d62354e7217666e6aff9255a511034
/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 Fedora 34 using yum and dnf.