Ubuntu18.04 install Vulkan SDK

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:

DirectoryDescription
/etc/vulkan/icd.d/ or /usr/share/vulkan/icd.dVulkan 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

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值