How To Install root-net on CentOS 8

root-net is Net library for ROOT

Introduction

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

What is root-net

This package contains the ROOT networking library.

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

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

sudo dnf -y install root-net

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

sudo yum -y install root-net

How To Uninstall root-net on CentOS 8

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

sudo dnf remove root-net

root-net Package Contents on CentOS 8

/usr/include/root/NetErrors.h
/usr/include/root/RRemoteProtocol.h
/usr/include/root/TApplicationRemote.h
/usr/include/root/TApplicationServer.h
/usr/include/root/TFTP.h
/usr/include/root/TFileStager.h
/usr/include/root/TGrid.h
/usr/include/root/TGridCollection.h
/usr/include/root/TGridJDL.h
/usr/include/root/TGridJob.h
/usr/include/root/TGridJobStatus.h
/usr/include/root/TGridJobStatusList.h
/usr/include/root/TGridResult.h
/usr/include/root/TMessage.h
/usr/include/root/TMonitor.h
/usr/include/root/TNetFile.h
/usr/include/root/TNetFileStager.h
/usr/include/root/TPServerSocket.h
/usr/include/root/TPSocket.h
/usr/include/root/TParallelMergingFile.h
/usr/include/root/TS3HTTPRequest.h
/usr/include/root/TS3WebFile.h
/usr/include/root/TSQLColumnInfo.h
/usr/include/root/TSQLMonitoring.h
/usr/include/root/TSQLResult.h
/usr/include/root/TSQLRow.h
/usr/include/root/TSQLServer.h
/usr/include/root/TSQLStatement.h
/usr/include/root/TSQLTableInfo.h
/usr/include/root/TSSLSocket.h
/usr/include/root/TSecContext.h
/usr/include/root/TServerSocket.h
/usr/include/root/TSocket.h
/usr/include/root/TUDPSocket.h
/usr/include/root/TWebFile.h
/usr/lib/.build-id
/usr/lib/.build-id/be/30737661d4f8276a583e74c442a8f66617070f
/usr/lib64/root/libNet.rootmap
/usr/lib64/root/libNet.so
/usr/lib64/root/libNet.so.6.22
/usr/lib64/root/libNet.so.6.22.08
/usr/lib64/root/libNet_rdict.pcm
/usr/share/root/plugins/TApplication/P010_TApplicationRemote.C
/usr/share/root/plugins/TApplication/P020_TApplicationServer.C
/usr/share/root/plugins/TFile/P010_TWebFile.C
/usr/share/root/plugins/TFile/P120_TNetFile.C
/usr/share/root/plugins/TFile/P150_TS3WebFile.C
/usr/share/root/plugins/TFileStager/P020_TNetFileStager.C
/usr/share/root/plugins/TSystem/P050_TWebSystem.C
/usr/share/root/plugins/TSystem/P070_TNetSystem.C
/usr/share/root/plugins/TVirtualMonitoringWriter/P020_TSQLMonitoringWriter.C

References

Summary

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