How To Install libglvnd-core-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libglvnd-core-devel.x86_64 in Amazon Linux 2. libglvnd-core-devel.x86_64 is Core development files for libglvnd

Introduction

In this tutorial we learn how to install libglvnd-core-devel.x86_64 on Amazon Linux 2.

What is libglvnd-core-devel.x86_64

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 to install libglvnd-core-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libglvnd-core-devel.x86_64.

Install libglvnd-core-devel.x86_64 on Amazon Linux 2 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.x86_64 using yum by running the following command:

sudo yum -y install libglvnd-core-devel.x86_64

How To Uninstall libglvnd-core-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libglvnd-core-devel.x86_64

libglvnd-core-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.