How To Install mesa-libEGL-devel on Rocky Linux 8

In this tutorial we learn how to install mesa-libEGL-devel on Rocky Linux 8. mesa-libEGL-devel is Mesa libEGL development package

Introduction

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

What is mesa-libEGL-devel

Mesa libEGL development package.

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

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

sudo dnf -y install mesa-libEGL-devel

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

sudo yum -y install mesa-libEGL-devel

How To Uninstall mesa-libEGL-devel on Rocky Linux 8

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

sudo dnf remove mesa-libEGL-devel

mesa-libEGL-devel Package Contents on Rocky Linux 8

/usr/include/EGL
/usr/include/EGL/eglextchromium.h
/usr/include/EGL/eglmesaext.h

References

Summary

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