triangle-vkd3d command not found

In this troubleshooting guide we learn how to fix triangle-vkd3d command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

triangle-vkd3d: command not found

or when using sudo you get the following error message

sudo: triangle-vkd3d: command not found

Solutions to triangle-vkd3d: command not found

How To Fix triangle-vkd3d: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu triangle-vkd3d is provided by vkd3d-demos package.

vkd3d-demos is:

3D graphics library that provides an API similar to Direct3D 12 built on top of the Vulkan library.

This package provides a few demos that use the vkd3d libraries.

To fix this problem, we can install more using the command below.

sudo apt-get -y install vkd3d-demos

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install vkd3d-demos.

sudo apt -y install vkd3d-demos

Or if you have aptitude installed you can use the following command.

sudo aptitude install vkd3d-demos

Summary

In this tutorial we learn how to fix triangle-vkd3d command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.