How To Install root-geom on CentOS 8

root-geom is Geometry library for ROOT

Introduction

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

What is root-geom

This package contains a library for defining geometries in ROOT.

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

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

sudo dnf -y install root-geom

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

sudo yum -y install root-geom

How To Uninstall root-geom on CentOS 8

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

sudo dnf remove root-geom

root-geom Package Contents on CentOS 8

/usr/include/root/TGDMLMatrix.h
/usr/include/root/TGeant4PhysicalConstants.h
/usr/include/root/TGeant4SystemOfUnits.h
/usr/include/root/TGeoArb8.h
/usr/include/root/TGeoAtt.h
/usr/include/root/TGeoBBox.h
/usr/include/root/TGeoBBoxEditor.h
/usr/include/root/TGeoBoolNode.h
/usr/include/root/TGeoBranchArray.h
/usr/include/root/TGeoBuilder.h
/usr/include/root/TGeoCache.h
/usr/include/root/TGeoChecker.h
/usr/include/root/TGeoCompositeShape.h
/usr/include/root/TGeoCone.h
/usr/include/root/TGeoConeEditor.h
/usr/include/root/TGeoElement.h
/usr/include/root/TGeoEltu.h
/usr/include/root/TGeoEltuEditor.h
/usr/include/root/TGeoExtension.h
/usr/include/root/TGeoGedFrame.h
/usr/include/root/TGeoGlobalMagField.h
/usr/include/root/TGeoHalfSpace.h
/usr/include/root/TGeoHelix.h
/usr/include/root/TGeoHype.h
/usr/include/root/TGeoHypeEditor.h
/usr/include/root/TGeoManager.h
/usr/include/root/TGeoManagerEditor.h
/usr/include/root/TGeoMaterial.h
/usr/include/root/TGeoMaterialEditor.h
/usr/include/root/TGeoMatrix.h
/usr/include/root/TGeoMatrixEditor.h
/usr/include/root/TGeoMedium.h
/usr/include/root/TGeoMediumEditor.h
/usr/include/root/TGeoNavigator.h
/usr/include/root/TGeoNode.h
/usr/include/root/TGeoNodeEditor.h
/usr/include/root/TGeoOpticalSurface.h
/usr/include/root/TGeoOverlap.h
/usr/include/root/TGeoPainter.h
/usr/include/root/TGeoPara.h
/usr/include/root/TGeoParaEditor.h
/usr/include/root/TGeoParaboloid.h
/usr/include/root/TGeoParallelWorld.h
/usr/include/root/TGeoPatternFinder.h
/usr/include/root/TGeoPcon.h
/usr/include/root/TGeoPconEditor.h
/usr/include/root/TGeoPgon.h
/usr/include/root/TGeoPgonEditor.h
/usr/include/root/TGeoPhysicalConstants.h
/usr/include/root/TGeoPhysicalNode.h
/usr/include/root/TGeoPolygon.h
/usr/include/root/TGeoRCPtr.h
/usr/include/root/TGeoRegion.h
/usr/include/root/TGeoScaledShape.h
/usr/include/root/TGeoShape.h
/usr/include/root/TGeoShapeAssembly.h
/usr/include/root/TGeoSphere.h
/usr/include/root/TGeoSphereEditor.h
/usr/include/root/TGeoStateInfo.h
/usr/include/root/TGeoSystemOfUnits.h
/usr/include/root/TGeoTabManager.h
/usr/include/root/TGeoTessellated.h
/usr/include/root/TGeoTorus.h
/usr/include/root/TGeoTorusEditor.h
/usr/include/root/TGeoTrack.h
/usr/include/root/TGeoTrapEditor.h
/usr/include/root/TGeoTrd1.h
/usr/include/root/TGeoTrd1Editor.h
/usr/include/root/TGeoTrd2.h
/usr/include/root/TGeoTrd2Editor.h
/usr/include/root/TGeoTube.h
/usr/include/root/TGeoTubeEditor.h
/usr/include/root/TGeoTypedefs.h
/usr/include/root/TGeoUniformMagField.h
/usr/include/root/TGeoVector3.h
/usr/include/root/TGeoVolume.h
/usr/include/root/TGeoVolumeEditor.h
/usr/include/root/TGeoVoxelFinder.h
/usr/include/root/TGeoXtru.h
/usr/include/root/TVirtualGeoConverter.h
/usr/include/root/TVirtualGeoPainter.h
/usr/include/root/TVirtualGeoTrack.h
/usr/include/root/TVirtualMagField.h
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/f5bf30ae7c6980a260da96d97e1c76c1437d0b
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/ca35525f5b5d29f7ce04e93a7bcb38dae59fd9
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/1a53c0b7000dbbcf210c39274855f6e297f1b9
/usr/lib64/root/libGeom.rootmap
/usr/lib64/root/libGeom.so
/usr/lib64/root/libGeom.so.6.22
/usr/lib64/root/libGeom.so.6.22.08
/usr/lib64/root/libGeomBuilder.rootmap
/usr/lib64/root/libGeomBuilder.so
/usr/lib64/root/libGeomBuilder.so.6.22
/usr/lib64/root/libGeomBuilder.so.6.22.08
/usr/lib64/root/libGeomBuilder_rdict.pcm
/usr/lib64/root/libGeomPainter.rootmap
/usr/lib64/root/libGeomPainter.so
/usr/lib64/root/libGeomPainter.so.6.22
/usr/lib64/root/libGeomPainter.so.6.22.08
/usr/lib64/root/libGeomPainter_rdict.pcm
/usr/lib64/root/libGeom_rdict.pcm
/usr/share/root/RadioNuclides.txt
/usr/share/root/plugins/TGeoManagerEditor/P010_TGeoManagerEditor.C
/usr/share/root/plugins/TVirtualGeoPainter/P010_TGeoPainter.C

References

Summary

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