kinect_fetch_fw command not found

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

Introduction

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

kinect_fetch_fw: command not found

or when using sudo you get the following error message

sudo: kinect_fetch_fw: command not found

Solutions to kinect_fetch_fw: command not found

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

In Ubuntu kinect_fetch_fw is provided by kinect-audio-setup package.

kinect-audio-setup is:

When the Kinect sensor is first plugged in, its audio input device shows up as a generic USB device; after the appropriate firmware is loaded, the device is reset and it becomes available as a USB Audio Class (UAC) device.

Since the firmware is not redistributable, kinect-audio-setup provides tools to download it from the Internet at installation time, and sets up udev rules to call the firmware loader when the device is plugged in to finally get the UAC device.

The UAC firmware is downloaded from the Microsoft Kinect Software Development Kit at http://www.microsoft.com/en-us/kinectforwindows/, the license of which can be found at http://research.microsoft.com/en-us/um/legal/kinectsdk-tou_noncommercial.htm

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

sudo apt-get -y install kinect-audio-setup

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

You can also use apt command to install kinect-audio-setup.

sudo apt -y install kinect-audio-setup

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

sudo aptitude install kinect-audio-setup

Summary

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