How To Install libopenni-sensor-primesense-dev on Ubuntu 18.04

In this tutorial we learn how to install libopenni-sensor-primesense-dev on Ubuntu 18.04. libopenni-sensor-primesense-dev is headers for working with PrimeSense sensor OpenNI modules

Introduction

In this tutorial we learn how to install libopenni-sensor-primesense-dev on Ubuntu 18.04.

What is libopenni-sensor-primesense-dev

libopenni-sensor-primesense-dev 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. This package provides modules for OpenNI that get the data from the PrimeSense camera for processing with the OpenNI Middleware, like PrimeSense NITE.

This package provides the headers for building against these sensor modules.

There are three methods to install libopenni-sensor-primesense-dev 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 libopenni-sensor-primesense-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libopenni-sensor-primesense-dev using apt-get by running the following command:

sudo apt-get -y install libopenni-sensor-primesense-dev

Install libopenni-sensor-primesense-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libopenni-sensor-primesense-dev using apt by running the following command:

sudo apt -y install libopenni-sensor-primesense-dev

Install libopenni-sensor-primesense-dev 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 libopenni-sensor-primesense-dev using aptitude by running the following command:

sudo aptitude -y install libopenni-sensor-primesense-dev

How To Uninstall libopenni-sensor-primesense-dev on Ubuntu 18.04

To uninstall only the libopenni-sensor-primesense-dev package we can use the following command:

sudo apt-get remove libopenni-sensor-primesense-dev

Uninstall libopenni-sensor-primesense-dev And Its Dependencies

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

sudo apt-get -y autoremove libopenni-sensor-primesense-dev

Remove libopenni-sensor-primesense-dev Configurations and Data

To remove libopenni-sensor-primesense-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libopenni-sensor-primesense-dev

Remove libopenni-sensor-primesense-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libopenni-sensor-primesense-dev

References

Summary

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