How To Install libglvnd-core-devel on Rocky Linux 8

In this tutorial we learn how to install libglvnd-core-devel on Rocky Linux 8. libglvnd-core-devel is Core development files for libglvnd

Introduction

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

What is libglvnd-core-devel

The libglvnd-core-devel package is a bootstrap trick for Mesa, which wants to build against the libglvnd headers but does not link against any of its libraries (and, initially, has file conflicts with them). If you are not Mesa you almost certainly want libglvnd-devel instead.

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

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

sudo dnf -y install libglvnd-core-devel

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

sudo yum -y install libglvnd-core-devel

How To Uninstall libglvnd-core-devel on Rocky Linux 8

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

sudo dnf remove libglvnd-core-devel

libglvnd-core-devel Package Contents on Rocky Linux 8

/usr/include/glvnd
/usr/include/glvnd/GLdispatchABI.h
/usr/include/glvnd/libeglabi.h
/usr/include/glvnd/libglxabi.h
/usr/lib/pkgconfig/libglvnd.pc
/usr/include/glvnd
/usr/include/glvnd/GLdispatchABI.h
/usr/include/glvnd/libeglabi.h
/usr/include/glvnd/libglxabi.h
/usr/lib64/pkgconfig/libglvnd.pc

References

Summary

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