How To Install compat-glew.x86_64 on Amazon Linux 2

In this tutorial we learn how to install compat-glew.x86_64 in Amazon Linux 2. compat-glew.x86_64 is The OpenGL Extension Wrangler Library

Introduction

In this tutorial we learn how to install compat-glew.x86_64 on Amazon Linux 2.

What is compat-glew.x86_64

Compatibility package for old versions of glew.

We can use yum to install compat-glew.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install compat-glew.x86_64.

Install compat-glew.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 compat-glew.x86_64 using yum by running the following command:

sudo yum -y install compat-glew.x86_64

How To Uninstall compat-glew.x86_64 on Amazon Linux 2

To uninstall only the compat-glew.x86_64 package we can use the following command:

sudo yum remove compat-glew.x86_64

compat-glew.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libGLEW.so.1.9
/usr/lib64/libGLEW.so.1.9.0
/usr/lib64/libGLEWmx.so.1.9
/usr/lib64/libGLEWmx.so.1.9.0
/usr/share/doc/compat-glew-1.9.0
/usr/share/doc/compat-glew-1.9.0/LICENSE.txt

References

Summary

In this tutorial we learn how to install compat-glew.x86_64 on Amazon Linux 2 using yum.