How To Install root-gui on CentOS 8

root-gui is GUI library for ROOT

Introduction

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

What is root-gui

This package contains a library for defining graphical user interfaces.

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

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

sudo dnf -y install root-gui

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

sudo yum -y install root-gui

How To Uninstall root-gui on CentOS 8

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

sudo dnf remove root-gui

root-gui Package Contents on CentOS 8

/usr/include/root/HelpText.h
/usr/include/root/TG3DLine.h
/usr/include/root/TGApplication.h
/usr/include/root/TGButton.h
/usr/include/root/TGButtonGroup.h
/usr/include/root/TGCanvas.h
/usr/include/root/TGClient.h
/usr/include/root/TGColorDialog.h
/usr/include/root/TGColorSelect.h
/usr/include/root/TGComboBox.h
/usr/include/root/TGCommandPlugin.h
/usr/include/root/TGDNDManager.h
/usr/include/root/TGDimension.h
/usr/include/root/TGDockableFrame.h
/usr/include/root/TGDoubleSlider.h
/usr/include/root/TGEventHandler.h
/usr/include/root/TGFSComboBox.h
/usr/include/root/TGFSContainer.h
/usr/include/root/TGFileBrowser.h
/usr/include/root/TGFileDialog.h
/usr/include/root/TGFont.h
/usr/include/root/TGFontDialog.h
/usr/include/root/TGFrame.h
/usr/include/root/TGGC.h
/usr/include/root/TGIcon.h
/usr/include/root/TGIdleHandler.h
/usr/include/root/TGImageMap.h
/usr/include/root/TGInputDialog.h
/usr/include/root/TGLabel.h
/usr/include/root/TGLayout.h
/usr/include/root/TGListBox.h
/usr/include/root/TGListTree.h
/usr/include/root/TGListView.h
/usr/include/root/TGMdi.h
/usr/include/root/TGMdiDecorFrame.h
/usr/include/root/TGMdiFrame.h
/usr/include/root/TGMdiMainFrame.h
/usr/include/root/TGMdiMenu.h
/usr/include/root/TGMenu.h
/usr/include/root/TGMimeTypes.h
/usr/include/root/TGMsgBox.h
/usr/include/root/TGNumberEntry.h
/usr/include/root/TGObject.h
/usr/include/root/TGPack.h
/usr/include/root/TGPasswdDialog.h
/usr/include/root/TGPicture.h
/usr/include/root/TGProgressBar.h
/usr/include/root/TGRedirectOutputGuard.h
/usr/include/root/TGResourcePool.h
/usr/include/root/TGScrollBar.h
/usr/include/root/TGShapedFrame.h
/usr/include/root/TGShutter.h
/usr/include/root/TGSimpleTable.h
/usr/include/root/TGSimpleTableInterface.h
/usr/include/root/TGSlider.h
/usr/include/root/TGSpeedo.h
/usr/include/root/TGSplitFrame.h
/usr/include/root/TGSplitter.h
/usr/include/root/TGStatusBar.h
/usr/include/root/TGString.h
/usr/include/root/TGTab.h
/usr/include/root/TGTable.h
/usr/include/root/TGTableCell.h
/usr/include/root/TGTableContainer.h
/usr/include/root/TGTableHeader.h
/usr/include/root/TGTableLayout.h
/usr/include/root/TGText.h
/usr/include/root/TGTextBuffer.h
/usr/include/root/TGTextEdit.h
/usr/include/root/TGTextEditDialogs.h
/usr/include/root/TGTextEditor.h
/usr/include/root/TGTextEntry.h
/usr/include/root/TGTextView.h
/usr/include/root/TGTextViewStream.h
/usr/include/root/TGToolBar.h
/usr/include/root/TGToolTip.h
/usr/include/root/TGTripleSlider.h
/usr/include/root/TGView.h
/usr/include/root/TGWidget.h
/usr/include/root/TGWindow.h
/usr/include/root/TGXYLayout.h
/usr/include/root/TGuiBuilder.h
/usr/include/root/TRootApplication.h
/usr/include/root/TRootBrowser.h
/usr/include/root/TRootBrowserLite.h
/usr/include/root/TRootCanvas.h
/usr/include/root/TRootContextMenu.h
/usr/include/root/TRootControlBar.h
/usr/include/root/TRootDialog.h
/usr/include/root/TRootEmbeddedCanvas.h
/usr/include/root/TRootGuiFactory.h
/usr/include/root/TRootHelpDialog.h
/usr/include/root/TVirtualDragManager.h
/usr/include/root/WidgetMessageTypes.h
/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/90c7a4d9be97c2beca879357b782634e8b6fd5
/usr/lib64/root/libGui.rootmap
/usr/lib64/root/libGui.so
/usr/lib64/root/libGui.so.6.22
/usr/lib64/root/libGui.so.6.22.08
/usr/lib64/root/libGui_rdict.pcm
/usr/share/root/plugins/TBrowserImp/P010_TRootBrowser.C
/usr/share/root/plugins/TBrowserImp/P020_TRootBrowserLite.C
/usr/share/root/plugins/TGPasswdDialog/P010_TGPasswdDialog.C
/usr/share/root/plugins/TGuiFactory/P010_TRootGuiFactory.C

References

Summary

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