How To Install kinect-audio-setup on Ubuntu 18.04

In this tutorial we learn how to install kinect-audio-setup on Ubuntu 18.04. kinect-audio-setup is Microsoft Kinect sensor audio setup helpers

Introduction

In this tutorial we learn how to install kinect-audio-setup on Ubuntu 18.04.

What is kinect-audio-setup

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

There are three methods to install kinect-audio-setup on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kinect-audio-setup Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install kinect-audio-setup using apt-get by running the following command:

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

Install kinect-audio-setup Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kinect-audio-setup using apt by running the following command:

sudo apt -y install kinect-audio-setup

Install kinect-audio-setup Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install kinect-audio-setup using aptitude by running the following command:

sudo aptitude -y install kinect-audio-setup

How To Uninstall kinect-audio-setup on Ubuntu 18.04

To uninstall only the kinect-audio-setup package we can use the following command:

sudo apt-get remove kinect-audio-setup

Uninstall kinect-audio-setup And Its Dependencies

To uninstall kinect-audio-setup and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

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

Remove kinect-audio-setup Configurations and Data

To remove kinect-audio-setup configuration and data from Ubuntu 18.04 we can use the following command:

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

Remove kinect-audio-setup configuration, data, and all of its dependencies

We can use the following command to remove kinect-audio-setup configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kinect-audio-setup

References

Summary

In this tutorial we learn how to install kinect-audio-setup package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.