How To Install vulkan on CentOS 7

In this tutorial we learn how to install vulkan on CentOS 7. vulkan is Vulkan loader and validation layers

Introduction

In this tutorial we learn how to install vulkan on CentOS 7.

What is vulkan

Vulkan is a new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms. This package contains the reference ICD loader and validation layers for Vulkan. Vulkan is a new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms. This package contains the reference ICD loader and validation layers for Vulkan.

We can use yum or dnf to install vulkan on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install vulkan.

Install vulkan on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install vulkan using yum by running the following command:

sudo yum -y install vulkan

Install vulkan on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install vulkan using dnf by running the following command:

sudo dnf -y install vulkan

How To Uninstall vulkan on CentOS 7

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

sudo dnf remove vulkan

References

Summary

In this tutorial we learn how to install vulkan on CentOS 7 using yum and dnf.