How To Install glx-utils on Rocky Linux 8

In this tutorial we learn how to install glx-utils on Rocky Linux 8. glx-utils is GLX utilities

Introduction

In this tutorial we learn how to install glx-utils on Rocky Linux 8.

What is glx-utils

The glx-utils package provides the glxinfo and glxgears utilities.

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

Install glx-utils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install glx-utils using dnf by running the following command:

sudo dnf -y install glx-utils

Install glx-utils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install glx-utils using yum by running the following command:

sudo yum -y install glx-utils

How To Uninstall glx-utils on Rocky Linux 8

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

sudo dnf remove glx-utils

glx-utils Package Contents on Rocky Linux 8

/usr/bin/glxgears
/usr/bin/glxinfo
/usr/bin/glxinfo64
/usr/bin/xdriinfo
/usr/lib/.build-id
/usr/lib/.build-id/23/99e741b0bfc9c4e2efbc0a608d5c4a412a4ee4.1
/usr/lib/.build-id/23/99e741b0bfc9c4e2efbc0a608d5c4a412a4ee4.2
/usr/lib/.build-id/4f/2f115321e36786630a27539e5322859e223965.1
/usr/lib/.build-id/5f/50d88550c104381409e2563efbb8d17283e10a
/usr/share/man/man1/xdriinfo.1.gz

References

Summary

In this tutorial we learn how to install glx-utils on Rocky Linux 8 using yum and dnf.