How To Install vulkan-loader on Rocky Linux 8

In this tutorial we learn how to install vulkan-loader on Rocky Linux 8. vulkan-loader is Vulkan ICD desktop loader

Introduction

In this tutorial we learn how to install vulkan-loader on Rocky Linux 8.

What is vulkan-loader

This project provides the Khronos official Vulkan ICD desktop loader for Windows, Linux, and MacOS.

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

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

sudo dnf -y install vulkan-loader

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

sudo yum -y install vulkan-loader

How To Uninstall vulkan-loader on Rocky Linux 8

To uninstall only the vulkan-loader package we can use the following command:

sudo dnf remove vulkan-loader

vulkan-loader Package Contents on Rocky Linux 8

/etc/vulkan
/etc/vulkan/explicit_layer.d
/etc/vulkan/icd.d
/etc/vulkan/implicit_layer.d
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/7d97454cd71564c768c7727d8e5f3fb6a03f22
/usr/lib64/libvulkan.so.1
/usr/lib64/libvulkan.so.1.2.162
/usr/share/doc/vulkan-loader
/usr/share/doc/vulkan-loader/CONTRIBUTING.md
/usr/share/doc/vulkan-loader/README.md
/usr/share/licenses/vulkan-loader
/usr/share/licenses/vulkan-loader/LICENSE.txt
/usr/share/vulkan
/usr/share/vulkan/explicit_layer.d
/usr/share/vulkan/icd.d
/usr/share/vulkan/implicit_layer.d
/etc/vulkan
/etc/vulkan/explicit_layer.d
/etc/vulkan/icd.d
/etc/vulkan/implicit_layer.d
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/50a31abadb0706c4ab207214bacab446955561
/usr/lib/libvulkan.so.1
/usr/lib/libvulkan.so.1.2.162
/usr/share/doc/vulkan-loader
/usr/share/doc/vulkan-loader/CONTRIBUTING.md
/usr/share/doc/vulkan-loader/README.md
/usr/share/licenses/vulkan-loader
/usr/share/licenses/vulkan-loader/LICENSE.txt
/usr/share/vulkan
/usr/share/vulkan/explicit_layer.d
/usr/share/vulkan/icd.d
/usr/share/vulkan/implicit_layer.d

References

Summary

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