Follow the instructions below to install LunarG Vulkan SDK from the LunarG web site:
Download vulkansdk-linux-x86_64-22.214.171.124.run from https://vulkan.lunarg.com/
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/vulkansdk-linux-x86_64-version.run ./
$ chmod ugo+x vulkansdk-linux-x86_64-version.run
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:
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/126.96.36.199/examples/build/CMakeFiles/188.8.131.52/CMakeSystem.cmake.tmp
A: Please remove the VulkanSDK directory and run the installation script again WITHOUT using sudo