How To Install mesa-libEGL on Rocky Linux 8

In this tutorial we learn how to install mesa-libEGL on Rocky Linux 8. mesa-libEGL is Mesa libEGL runtime libraries

Introduction

In this tutorial we learn how to install mesa-libEGL on Rocky Linux 8.

What is mesa-libEGL

Mesa libEGL runtime libraries.

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

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

sudo dnf -y install mesa-libEGL

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

sudo yum -y install mesa-libEGL

How To Uninstall mesa-libEGL on Rocky Linux 8

To uninstall only the mesa-libEGL package we can use the following command:

sudo dnf remove mesa-libEGL

mesa-libEGL Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/f01277c39411735979d995f94b8f40f20aa2d6
/usr/lib64/libEGL_mesa.so.0
/usr/lib64/libEGL_mesa.so.0.0.0
/usr/share/glvnd/egl_vendor.d/50_mesa.json
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/e471d2a8f983c009e063e6a1aa64e3f01e92b3
/usr/lib/libEGL_mesa.so.0
/usr/lib/libEGL_mesa.so.0.0.0
/usr/share/glvnd/egl_vendor.d/50_mesa.json

References

Summary

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