How To Install vulkan.i686 on Amazon Linux 2

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

Introduction

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

What is vulkan.i686

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

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

sudo yum -y install vulkan.i686

How To Uninstall vulkan.i686 on Amazon Linux 2

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

sudo yum remove vulkan.i686

vulkan.i686 Package Contents on Amazon Linux 2

/usr/bin/vulkaninfo
/usr/lib/libVkLayer_core_validation.so
/usr/lib/libVkLayer_object_tracker.so
/usr/lib/libVkLayer_parameter_validation.so
/usr/lib/libVkLayer_threading.so
/usr/lib/libVkLayer_unique_objects.so
/usr/lib/libVkLayer_utils.so
/usr/lib/libvulkan.so.1
/usr/lib/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.i686 on Amazon Linux 2 using yum.