How To Install vulkan-loader-devel on Rocky Linux 8

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

Introduction

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

What is vulkan-loader-devel

The vulkan-loader-devel package contains libraries and header files for developing applications that use vulkan-loader.

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

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

sudo dnf -y install vulkan-loader-devel

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

sudo yum -y install vulkan-loader-devel

How To Uninstall vulkan-loader-devel on Rocky Linux 8

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

sudo dnf remove vulkan-loader-devel

vulkan-loader-devel Package Contents on Rocky Linux 8

/usr/lib/libvulkan.so
/usr/lib/pkgconfig/vulkan.pc
/usr/lib64/libvulkan.so
/usr/lib64/pkgconfig/vulkan.pc

References

Summary

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