How To Install primesense-nite-nonfree on Ubuntu 18.04

In this tutorial we learn how to install primesense-nite-nonfree on Ubuntu 18.04. primesense-nite-nonfree is OpenNI module providing gesture and skeleton tracking

Introduction

In this tutorial we learn how to install primesense-nite-nonfree on Ubuntu 18.04.

What is primesense-nite-nonfree

primesense-nite-nonfree is:

This package will download the binary PrimeSense NITE modules for OpenNI and creates a Debian packages you can install. These modules provide two types of tracking to OpenNI: ‘Control By Gesture’ and ‘Games for All’. ‘Control By Gesture’ is gesture tracking for using arm movements for navigating menus, it provides gesture tracking for things like push, click, circle, and wave. ‘Games for All’ is skeleton tracking for getting information on the position of all of the joints of the body. These two tracking modes are the most common kinds of tracking used with the Microsoft Kinect camera.

WARNING: Installing this Debian package causes the PrimeSense NITE modules to be downloaded from www.primesense.com The End User License Agreement of NITE modules is available at www.primesense.com.

There are three methods to install primesense-nite-nonfree 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 primesense-nite-nonfree Using apt-get

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

sudo apt-get update

After updating apt database, We can install primesense-nite-nonfree using apt-get by running the following command:

sudo apt-get -y install primesense-nite-nonfree

Install primesense-nite-nonfree Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install primesense-nite-nonfree using apt by running the following command:

sudo apt -y install primesense-nite-nonfree

Install primesense-nite-nonfree 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 primesense-nite-nonfree using aptitude by running the following command:

sudo aptitude -y install primesense-nite-nonfree

How To Uninstall primesense-nite-nonfree on Ubuntu 18.04

To uninstall only the primesense-nite-nonfree package we can use the following command:

sudo apt-get remove primesense-nite-nonfree

Uninstall primesense-nite-nonfree And Its Dependencies

To uninstall primesense-nite-nonfree and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove primesense-nite-nonfree

Remove primesense-nite-nonfree Configurations and Data

To remove primesense-nite-nonfree configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge primesense-nite-nonfree

Remove primesense-nite-nonfree configuration, data, and all of its dependencies

We can use the following command to remove primesense-nite-nonfree configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge primesense-nite-nonfree

References

Summary

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