How To Install xorg-x11-utils on CentOS 8

xorg-x11-utils is X.Org X11 X client utilities

Introduction

In this tutorial we learn how to install xorg-x11-utils on CentOS 8.

What is xorg-x11-utils

A collection of client utilities which can be used to query the X server for various information.

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

Install xorg-x11-utils 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 xorg-x11-utils using dnf by running the following command:

sudo dnf -y install xorg-x11-utils

Install xorg-x11-utils 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 xorg-x11-utils using yum by running the following command:

sudo yum -y install xorg-x11-utils

How To Uninstall xorg-x11-utils on CentOS 8

To uninstall only the xorg-x11-utils package we can use the following command:

sudo dnf remove xorg-x11-utils

xorg-x11-utils Package Contents on CentOS 8

/usr/bin/edid-decode
/usr/bin/xdpyinfo
/usr/bin/xev
/usr/bin/xlsatoms
/usr/bin/xlsclients
/usr/bin/xlsfonts
/usr/bin/xprop
/usr/bin/xvinfo
/usr/bin/xwininfo
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/a4e948215912b66765a377459c59e0208a197d
/usr/lib/.build-id/85
/usr/lib/.build-id/85/55fb4cbbd90756239b3a1b1e1bcc9073e13b88
/usr/lib/.build-id/97
/usr/lib/.build-id/97/e5057e886cdc5055baeabbb942bb766f6634fe
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/fb3c40ab9d92156158614358279c5b2ff7433b
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/20e494e55b45ea2fc99e0eabc3559f65e4e69e
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/841f97099447a279450fc5dfc63aa582cd5161
/usr/lib/.build-id/df
/usr/lib/.build-id/df/9af0979242adc54de7b4957c748fc22b3843fb
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/af28680425f205545c7ec03aea6477cc564bcf
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/a5db469d36d7f36d9b477289125f33a62b132e
/usr/share/man/man1/edid-decode.1.gz
/usr/share/man/man1/xdpyinfo.1.gz
/usr/share/man/man1/xev.1.gz
/usr/share/man/man1/xlsatoms.1.gz
/usr/share/man/man1/xlsclients.1.gz
/usr/share/man/man1/xlsfonts.1.gz
/usr/share/man/man1/xprop.1.gz
/usr/share/man/man1/xvinfo.1.gz
/usr/share/man/man1/xwininfo.1.gz

References

Summary

In this tutorial we learn how to install xorg-x11-utils on CentOS 8 using yum and dnf.