Sample-NiAudioSample command not found

In this troubleshooting guide we learn how to fix Sample-NiAudioSample command not found error message

Introduction

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

Sample-NiAudioSample: command not found

or when using sudo you get the following error message

sudo: Sample-NiAudioSample: command not found

Solutions to Sample-NiAudioSample: command not found

How To Fix Sample-NiAudioSample: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu Sample-NiAudioSample is provided by openni-utils package.

openni-utils is:

OpenNI is a framework for getting data to support ‘Natural Interaction’, i.e. skeleton tracking, gesture tracking, and similar ways of getting data from humans. OpenNI provides the interface for physical devices and for middleware components. The API enables modules to be registered in the OpenNI framework, which then produce sensory data. OpenNI also allows selection of different hardware and middleware modules.

This package provides a number of related utilities for debugging, testing, and view the results of the sensor modules.

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

sudo apt-get -y install openni-utils

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

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

sudo apt -y install openni-utils

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

sudo aptitude install openni-utils

Summary

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