How To Install vulkan-tools on Rocky Linux 8

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

Introduction

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

What is vulkan-tools

Vulkan tools

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

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

sudo dnf -y install vulkan-tools

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

sudo yum -y install vulkan-tools

How To Uninstall vulkan-tools on Rocky Linux 8

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

sudo dnf remove vulkan-tools

vulkan-tools Package Contents on Rocky Linux 8

/usr/bin/vkcube
/usr/bin/vkcubepp
/usr/bin/vulkaninfo
/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/c9cb401177926bdc0e8a75fbe86998bed31a66
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/726bb8d8231b98865a966afef18fbe9af6da93
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/2182d80dafb2fb899ba50e7d7bfbddb67c5f0c
/usr/share/doc/vulkan-tools
/usr/share/doc/vulkan-tools/CONTRIBUTING.md
/usr/share/doc/vulkan-tools/README.md
/usr/share/licenses/vulkan-tools
/usr/share/licenses/vulkan-tools/LICENSE.txt

References

Summary

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