Skip to content

Instantly share code, notes, and snippets.

@Radfordhound
Created March 13, 2022 23:23
Show Gist options
  • Save Radfordhound/6e6ce00535d14ae87d606ece93f1e336 to your computer and use it in GitHub Desktop.
Save Radfordhound/6e6ce00535d14ae87d606ece93f1e336 to your computer and use it in GitHub Desktop.
Simple shell script to install LunarG's Ubuntu repository for their Vulkan SDK
#!/bin/bash
ubuntu_version=$(lsb_release -cs)
echo $ubuntu_version
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-$ubuntu_version.list http://packages.lunarg.com/vulkan/lunarg-vulkan-$ubuntu_version.list
sudo apt update
@ian-gallagher
Copy link

sudo apt-key add - gives a warning Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). fyi. I'm actually not sure how to fix that

@ian-gallagher
Copy link

I thought I was missing a lunarg repo but discovered on Linux Mint I can install the packages vulkan-tools, libvulkan-dev and vulkan-validationlayers spirv-tools separatel from what I gather

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment