How To Install mesa-libGLES-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mesa-libGLES-devel.x86_64 in Amazon Linux 2. mesa-libGLES-devel.x86_64 is Mesa libGLES development package

Introduction

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

What is mesa-libGLES-devel.x86_64

Mesa libGLES development package

We can use yum to install mesa-libGLES-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 mesa-libGLES-devel.x86_64.

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

sudo yum -y install mesa-libGLES-devel.x86_64

How To Uninstall mesa-libGLES-devel.x86_64 on Amazon Linux 2

To uninstall only the mesa-libGLES-devel.x86_64 package we can use the following command:

sudo yum remove mesa-libGLES-devel.x86_64

mesa-libGLES-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/GLES2
/usr/include/GLES2/gl2.h
/usr/include/GLES2/gl2ext.h
/usr/include/GLES2/gl2platform.h
/usr/include/GLES3
/usr/include/GLES3/gl3.h
/usr/include/GLES3/gl31.h
/usr/include/GLES3/gl32.h
/usr/include/GLES3/gl3ext.h
/usr/include/GLES3/gl3platform.h
/usr/lib64/pkgconfig/glesv2.pc

References

Summary

In this tutorial we learn how to install mesa-libGLES-devel.x86_64 on Amazon Linux 2 using yum.