How To Install mesa-dri-drivers on Rocky Linux 8

In this tutorial we learn how to install mesa-dri-drivers on Rocky Linux 8. mesa-dri-drivers is Mesa-based DRI drivers

Introduction

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

What is mesa-dri-drivers

Mesa-based DRI drivers.

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

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

sudo dnf -y install mesa-dri-drivers

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

sudo yum -y install mesa-dri-drivers

How To Uninstall mesa-dri-drivers on Rocky Linux 8

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

sudo dnf remove mesa-dri-drivers

mesa-dri-drivers Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/c66b2061b0133055de37d49edec1f1f7729d0f
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.1
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.2
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.3
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.4
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.5
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.6
/usr/lib/.build-id/8b/b375ca0af6f5fae658fb19ae6c814eb7d4016b.7
/usr/lib/dri/i965_dri.so
/usr/lib/dri/iris_dri.so
/usr/lib/dri/kms_swrast_dri.so
/usr/lib/dri/nouveau_dri.so
/usr/lib/dri/r600_dri.so
/usr/lib/dri/radeonsi_dri.so
/usr/lib/dri/swrast_dri.so
/usr/lib/dri/virtio_gpu_dri.so
/usr/lib/dri/vmwgfx_dri.so
/usr/share/drirc.d
/usr/share/drirc.d/00-mesa-defaults.conf
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/2cb5be7a1e5cbd693dc62cf61921db37fed216
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.1
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.2
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.3
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.4
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.5
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.6
/usr/lib/.build-id/b4/93e825bc038cc9e8a6e3cb14ed8b6ff543b966.7
/usr/lib64/dri/i965_dri.so
/usr/lib64/dri/iris_dri.so
/usr/lib64/dri/kms_swrast_dri.so
/usr/lib64/dri/nouveau_dri.so
/usr/lib64/dri/r600_dri.so
/usr/lib64/dri/radeonsi_dri.so
/usr/lib64/dri/swrast_dri.so
/usr/lib64/dri/virtio_gpu_dri.so
/usr/lib64/dri/vmwgfx_dri.so
/usr/share/drirc.d
/usr/share/drirc.d/00-mesa-defaults.conf

References

Summary

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