niReg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
niReg: command not found
or when using sudo you get the following error message
sudo: niReg: command not found
Solutions to niReg: command not found
How To Fix niReg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu niReg 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 niReg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.