Skip to content

Instantly share code, notes, and snippets.

@dukenmarga
Created March 25, 2025 02:25
Show Gist options
  • Select an option

  • Save dukenmarga/3571c45f6212144faaaee72b1b03d943 to your computer and use it in GitHub Desktop.

Select an option

Save dukenmarga/3571c45f6212144faaaee72b1b03d943 to your computer and use it in GitHub Desktop.
Install Vulkan openSUSE

Source: https://sndirsch.github.io/vulkan/2022/10/20/vulkan-packages-on-opensuse.html

Website vulkan-tutorial.com provides installation steps of Vulkan development on Ubuntu. This steps below shows necessary steps to install the equivalent process but on openSUSE.

Install g++

C++ compiler: should support C++ 17 (g++ 7+ or clang 5+)

sudo zypper in gcc-c++

Install Vulkan packages

Run vkcube and vulkaninfo after the installation to confirm your machine supports Vulkan.

sudo zypper in vulkan-tools vulkan-devel vulkan-validationlayers libvulkan_intel libvulkan_radeon

Install GLFW

GLFW library for window creation and handling, etc. used by the Tutorial (Vulkan is platform-agnostic!). Other option is SDL2, but the tutorial uses GLWF.

sudo zypper in libglfw-devel

Install GLM

GLM library needed for linear algebra operations (not included by Vulkan, but also popular on OpenGL)

sudo zypper in glm-devel

Install Shader compiler

Shader Compiler glslc for generating SPIR-V binaries. GLSL contains human readable instruction of shaders and will be compiled into bytecode.

sudo zypper in shaderc

Install additional packages

sudo zypper in libXi-devel libXxf86vm-devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment