hello_xr command not found

In this troubleshooting guide we learn how to fix hello_xr command not found error message

Introduction

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

hello_xr: command not found

or when using sudo you get the following error message

sudo: hello_xr: command not found

Solutions to hello_xr: command not found

How To Fix hello_xr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hello_xr is provided by libopenxr-utils package.

libopenxr-utils is:

OpenXR is an API specification for writing portable, cross-platform virtual reality (VR) and augmented reality (AR) software.

This package includes two utility binaries from the OpenXR-SDK-Source repository:

  • openxr_runtime_list - Provides information on the active OpenXR runtime.
  • hello_xr - A sample OpenXR application that works with multiple graphics APIs.

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

sudo apt-get -y install libopenxr-utils

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

You can also use apt command to install libopenxr-utils.

sudo apt -y install libopenxr-utils

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

sudo aptitude install libopenxr-utils

Summary

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