How To Install libglvnd-glx on Rocky Linux 8

In this tutorial we learn how to install libglvnd-glx on Rocky Linux 8. libglvnd-glx is GLX support for libglvnd

Introduction

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

What is libglvnd-glx

libGL and libGLX are the common dispatch interface for the GLX API.

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

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

sudo dnf -y install libglvnd-glx

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

sudo yum -y install libglvnd-glx

How To Uninstall libglvnd-glx on Rocky Linux 8

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

sudo dnf remove libglvnd-glx

libglvnd-glx Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/9863f87e3591299b8963d77c23331fb809f2a0
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/4a73d4fecc0fe792d85bb13ca46e6eddb3db52
/usr/lib64/libGL.so.1
/usr/lib64/libGL.so.1.7.0
/usr/lib64/libGLX.so.0
/usr/lib64/libGLX.so.0.0.0
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/c54ba98d83596d101c18e3d1c3f64f6b98b5be
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/296367da20f496d87b2b321181b6896cb4b2fa
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.7.0
/usr/lib/libGLX.so.0
/usr/lib/libGLX.so.0.0.0

References

Summary

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