How To Install openni on CentOS 7

In this tutorial we learn how to install openni on CentOS 7. openni is Library for human-machine Natural Interaction

Introduction

In this tutorial we learn how to install openni on CentOS 7.

What is openni

OpenNI (Open Natural Interaction) is a multi-language, cross-platform framework that defines APIs for writing applications utilizing Natural Interaction. OpenNI APIs are composed of a set of interfaces for writing NI applications. The main purpose of OpenNI is to form a standard API that enables communication with both * Vision and audio sensors * Vision and audio perception middleware

We can use yum or dnf to install openni on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openni.

Install openni on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openni using yum by running the following command:

sudo yum -y install openni

Install openni on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install openni using dnf by running the following command:

sudo dnf -y install openni

How To Uninstall openni on CentOS 7

To uninstall only the openni package we can use the following command:

sudo dnf remove openni

References

Summary

In this tutorial we learn how to install openni on CentOS 7 using yum and dnf.