How To Install libGLEW on Rocky Linux 8

In this tutorial we learn how to install libGLEW on Rocky Linux 8. libGLEW is libGLEW

Introduction

In this tutorial we learn how to install libGLEW on Rocky Linux 8.

What is libGLEW

libGLEW

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

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

sudo dnf -y install libGLEW

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

sudo yum -y install libGLEW

How To Uninstall libGLEW on Rocky Linux 8

To uninstall only the libGLEW package we can use the following command:

sudo dnf remove libGLEW

libGLEW Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/f97b640f6fcebb8f0073e0b4cdbdd977eb47a2
/usr/lib/libGLEW.so.2.0
/usr/lib/libGLEW.so.2.0.0
/usr/share/doc/libGLEW
/usr/share/doc/libGLEW/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/e13e7b74d2d70b03498af18d734d385f42c681
/usr/lib64/libGLEW.so.2.0
/usr/lib64/libGLEW.so.2.0.0
/usr/share/doc/libGLEW
/usr/share/doc/libGLEW/LICENSE.txt

References

Summary

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