Vulkan SDK can be downloaded from https://vulkan.lunarg.com/sdk/home. Alternatively, it
can be installed by using the distribution's package manager.
please refer to:
https://vulkan.lunarg.com/sdk/home
https://vulkan.lunarg.com/doc/sdk/1.2.176.1/linux/getting_started_ubuntu.html
Install the SDK
Before you begin, always make sure you system is up to date prior to installing any package.
Ubuntu 18.04 (Bionic Beaver)
wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-bionic.list http://packages.lunarg.com/vulkan/lunarg-vulkan-bionic.list
sudo apt update
sudo apt install vulkan-sdk
If you need a specific version of the Ubuntu SDK, the installation instructions are at the Vulkan SDK Download Site. Once there, you may install the packages by performing the following:
- Select the
SDK
tab on the left - Once the SDKs are shown, click the
Ubuntu Packages
tab under the Linux SDK section - Select the specific SDK package version you wish to install by clicking the corresponding link
- Select the corresponding version of Ubuntu you are using listed towards the bottom
- Copy the instructions in the dialog box to setup access to the package repository
- Paste those instructions one at a time in a terminal window and execute
- Follow the remaining instructions for properly installing that SDK on that web page
System Locations
If you have installed a Vulkan driver from a GPU vendor, you may wish to verify there is a JSON file installed in one of the following locations:
Directory | Description |
---|---|
/etc/vulkan/icd.d/ or /usr/share/vulkan/icd.d | Vulkan driver JSON manifest file, which is not modified by the SDK installer. |
Refer to the Vulkan Loader guide, Linux section, for detailed information on ICD and layer library search paths and order for this platform.
Uninstalling the SDK
sudo apt purge vulkan-sdk sudo apt autoremove