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

In this tutorial we learn how to install mesa-libGLU-devel on Rocky Linux 8. mesa-libGLU-devel is Development files for mesa-libGLU

Introduction

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

What is mesa-libGLU-devel

The mesa-libGLU-devel package contains libraries and header files for developing applications that use mesa-libGLU.

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

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

sudo dnf -y install mesa-libGLU-devel

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

sudo yum -y install mesa-libGLU-devel

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

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

sudo dnf remove mesa-libGLU-devel

mesa-libGLU-devel Package Contents on Rocky Linux 8

/usr/include/GL/glu.h
/usr/include/GL/glu_mangle.h
/usr/lib/libGLU.so
/usr/lib/pkgconfig/glu.pc
/usr/include/GL/glu.h
/usr/include/GL/glu_mangle.h
/usr/lib64/libGLU.so
/usr/lib64/pkgconfig/glu.pc

References

Summary

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