How To Install vulkan.x86_64 on Amazon Linux 2

In this tutorial we learn how to install vulkan.x86_64 in Amazon Linux 2. vulkan.x86_64 is Vulkan loader and validation layers

Introduction

In this tutorial we learn how to install vulkan.x86_64 on Amazon Linux 2.

What is vulkan.x86_64

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 to install vulkan.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install vulkan.x86_64.

Install vulkan.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install vulkan.x86_64

How To Uninstall vulkan.x86_64 on Amazon Linux 2

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

sudo yum remove vulkan.x86_64

vulkan.x86_64 Package Contents on Amazon Linux 2

/usr/bin/vulkaninfo
/usr/lib64/libVkLayer_core_validation.so
/usr/lib64/libVkLayer_object_tracker.so
/usr/lib64/libVkLayer_parameter_validation.so
/usr/lib64/libVkLayer_threading.so
/usr/lib64/libVkLayer_unique_objects.so
/usr/lib64/libVkLayer_utils.so
/usr/lib64/libvulkan.so.1
/usr/lib64/libvulkan.so.1.0.61
/usr/share/doc/vulkan-1.0.61.1
/usr/share/doc/vulkan-1.0.61.1/CONTRIBUTING.md
/usr/share/doc/vulkan-1.0.61.1/README.md
/usr/share/licenses/vulkan-1.0.61.1
/usr/share/licenses/vulkan-1.0.61.1/COPYRIGHT.txt
/usr/share/licenses/vulkan-1.0.61.1/LICENSE.txt
/usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json
/usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json
/usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json
/usr/share/vulkan/explicit_layer.d/VkLayer_standard_validation.json
/usr/share/vulkan/explicit_layer.d/VkLayer_threading.json
/usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json

References

Summary

In this tutorial we learn how to install vulkan.x86_64 on Amazon Linux 2 using yum.