How To Install mesa-libGLU on Rocky Linux 8

In this tutorial we learn how to install mesa-libGLU on Rocky Linux 8. mesa-libGLU is Mesa libGLU library

Introduction

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

What is mesa-libGLU

Mesa implementation of the standard GLU OpenGL utility API.

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

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

sudo dnf -y install mesa-libGLU

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

sudo yum -y install mesa-libGLU

How To Uninstall mesa-libGLU on Rocky Linux 8

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

sudo dnf remove mesa-libGLU

mesa-libGLU Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/94141eb67c79913632b9bc62fc45722705a9fa
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.1
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/f794040ac70c5fb1a5bb879ca211007ef65668
/usr/lib64/libGLU.so.1
/usr/lib64/libGLU.so.1.3.1

References

Summary

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