How To Install root-tree on CentOS 8

root-tree is Tree library for ROOT

Introduction

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

What is root-tree

This package contains the Tree library for ROOT.

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

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

sudo dnf -y install root-tree

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

sudo yum -y install root-tree

How To Uninstall root-tree on CentOS 8

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

sudo dnf remove root-tree

root-tree Package Contents on CentOS 8

/usr/include/root/ROOT/TIOFeatures.hxx
/usr/include/root/TBasket.h
/usr/include/root/TBasketSQL.h
/usr/include/root/TBranch.h
/usr/include/root/TBranchBrowsable.h
/usr/include/root/TBranchCacheInfo.h
/usr/include/root/TBranchClones.h
/usr/include/root/TBranchElement.h
/usr/include/root/TBranchObject.h
/usr/include/root/TBranchRef.h
/usr/include/root/TBranchSTL.h
/usr/include/root/TBufferSQL.h
/usr/include/root/TChain.h
/usr/include/root/TChainElement.h
/usr/include/root/TCut.h
/usr/include/root/TEntryList.h
/usr/include/root/TEntryListArray.h
/usr/include/root/TEntryListBlock.h
/usr/include/root/TEntryListFromFile.h
/usr/include/root/TEventList.h
/usr/include/root/TFriendElement.h
/usr/include/root/TIndArray.h
/usr/include/root/TLeaf.h
/usr/include/root/TLeafB.h
/usr/include/root/TLeafC.h
/usr/include/root/TLeafD.h
/usr/include/root/TLeafD32.h
/usr/include/root/TLeafElement.h
/usr/include/root/TLeafF.h
/usr/include/root/TLeafF16.h
/usr/include/root/TLeafI.h
/usr/include/root/TLeafL.h
/usr/include/root/TLeafO.h
/usr/include/root/TLeafObject.h
/usr/include/root/TLeafS.h
/usr/include/root/TNtuple.h
/usr/include/root/TNtupleD.h
/usr/include/root/TQueryResult.h
/usr/include/root/TSelector.h
/usr/include/root/TSelectorList.h
/usr/include/root/TSelectorScalar.h
/usr/include/root/TTree.h
/usr/include/root/TTreeCache.h
/usr/include/root/TTreeCacheUnzip.h
/usr/include/root/TTreeCloner.h
/usr/include/root/TTreeResult.h
/usr/include/root/TTreeRow.h
/usr/include/root/TTreeSQL.h
/usr/include/root/TVirtualIndex.h
/usr/include/root/TVirtualTreePlayer.h
/usr/include/root/TreeUtils.h
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/8fbbd6ccafdc14bf2d7c06ca4040e38e4b54e2
/usr/lib64/root/libTree.rootmap
/usr/lib64/root/libTree.so
/usr/lib64/root/libTree.so.6.22
/usr/lib64/root/libTree.so.6.22.08
/usr/lib64/root/libTree_rdict.pcm
/usr/share/doc/root/README.SELECTOR

References

Summary

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