Article Number

Follow the instructions below to install LunarG Vulkan SDK from the LunarG web site:

Download​ from

Installing the SDK

The LunarG Vulkan SDK For Linux is a self-extracting installer. It creates a local SDK install directory including Vulkan header files, libraries as well as several sample projects.

Create a work directory

$ mkdir vulkan

$ cd vulkan

Copy the self-extracting installer to your work directory. You may need to change the installer file permissions to include execute.

$ cp $HOME/Downloads/ ./

$ chmod ugo+x

Run the self-extracting installer. The installer won't touch system directories.
Note: You may also be prompted for your sudo password for removal of a previously installed version of the vulkan-sdk-runtime.

$ ./

Creating directory VulkanSDK

Verifying archive integrity... All good.

Uncompressing LunarG Vulkan SDK  100% 

Removing previously installed LunarG Vulkan SDK runtime; requires root access

[sudo] password for bill:


Running applications above the SDK

Since SDK installation doesn't copy any libraries to system directory, some environment variables must be setup as below:

$export VULKAN_SDK=/your_path_to_vulkan_sdk/VulkanSDK/

$export PATH=$PATH:$VULKAN_SDK/x86_64/bin


$export VK_LAYER_PATH=$VULKAN_SDK/x86_64/etc/explicit_layer.d


Q: Why does vulkaninfo report the error VK_ERROR_INITIALIZATION_FAILED? 

The following error has been observed when the user is not a member of the video group

ERROR: [loader] Code 0 : ICD ignored: failed to CreateInstance and find entrypoints with ICD

/home/bill/Development/LunarG/Vulkan/LinuxSDK/LoaderAndValidationLayers/demos/vulkaninfo.c:693: failed with VK_ERROR_INITIALIZATION_FAILED

A: To rectify please add the user to the video group with the following command

sudo usermod -a -G video $LOGNAME 

Q: Why am I unable to build the examples in the LunarG SDK?

The following error has been observed when the user installs the SDK as root

CMake Error: Could not open file for write in copy Operation /home/bill/vulkan/VulkanSDK/

A: Please remove the VulkanSDK directory and run the installation script again WITHOUT using sudo