How To Install glx-utils on CentOS 7

In this tutorial we learn how to install glx-utils on CentOS 7. glx-utils is GLX utilities

Introduction

In this tutorial we learn how to install glx-utils on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install glx-utils.

Install glx-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install glx-utils

Install glx-utils on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install glx-utils

How To Uninstall glx-utils on CentOS 7

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

sudo dnf remove glx-utils

References

Summary

In this tutorial we learn how to install glx-utils on CentOS 7 using yum and dnf.