How To Install libglvnd on Rocky Linux 8

In this tutorial we learn how to install libglvnd on Rocky Linux 8. libglvnd is The GL Vendor-Neutral Dispatch library

Introduction

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

What is libglvnd

libglvnd is an implementation of the vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors on a per-screen basis.

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

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

sudo dnf -y install libglvnd

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

sudo yum -y install libglvnd

How To Uninstall libglvnd on Rocky Linux 8

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

sudo dnf remove libglvnd

libglvnd Package Contents on Rocky Linux 8

/etc/glvnd
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/15b8e26d6b5433146fc9ce9481c964cd3eb39a
/usr/lib64/libGLdispatch.so.0
/usr/lib64/libGLdispatch.so.0.0.0
/usr/share/doc/libglvnd
/usr/share/doc/libglvnd/README.md
/usr/share/glvnd
/etc/glvnd
/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/a6ce5ecc13bf8a09b883276903a261011a053f
/usr/lib/libGLdispatch.so.0
/usr/lib/libGLdispatch.so.0.0.0
/usr/share/doc/libglvnd
/usr/share/doc/libglvnd/README.md
/usr/share/glvnd

References

Summary

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