How To Install openni on Fedora 34

openni is Library for human-machine Natural Interaction Library for human-machine Natural Interaction

Introduction

In this tutorial we learn how to install openni on Fedora 34.

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 openni 1.5.7.10 23.fc34 x86_64 393 k openni-1.5.7.10-23.fc34.src.rpm fedora Library for human-machine Natural Interaction http ASL 2.0 and BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install openni.

Install openni on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install openni

Install openni on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install openni

How To Uninstall openni on Fedora 34

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

sudo dnf remove openni

openni Package Contents on Fedora 34

/etc/openni
/usr/bin/niLicense
/usr/bin/niReg
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/da2cfb9f08c57bda3c7768fcc9a2e45935f6d6
/usr/lib/.build-id/50
/usr/lib/.build-id/50/84ab1445e8978e29b5ee78c98af6373d01a1fb
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/b554bc3e2795e3cee746d032d56c91cd24c151
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/c32976323031778f83b0439ad61b5961ed942c
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/677828964aa468f1bf5932a516d1c7c476382d
/usr/lib/.build-id/f0/a96e9cdcbacc283ccc25ac7164c81ef5815c8f
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/817dbaf3236034a607b434950f83103eeebc57
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/9c71b416d4020df4ffc9d14c8185bb54130cdc
/usr/lib64/libNiSampleModule.so
/usr/lib64/libOpenNI.jni.so
/usr/lib64/libOpenNI.so
/usr/lib64/libnimCodecs.so
/usr/lib64/libnimMockNodes.so
/usr/lib64/libnimRecorder.so
/usr/share/doc/openni
/usr/share/doc/openni/CHANGES
/usr/share/doc/openni/LICENSE
/usr/share/doc/openni/NOTICE
/usr/share/doc/openni/README
/var/lib/ni
/var/lib/ni/modules.xml
/etc/openni
/usr/bin/niLicense
/usr/bin/niReg
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/15d244a2381473de5440717fd2fe538f540a12
/usr/lib/.build-id/21
/usr/lib/.build-id/21/acf813a43baf221d8c8e341acefd33759dc0e8
/usr/lib/.build-id/75
/usr/lib/.build-id/75/a22019731a911e3d0615a9ab86e89179d64522
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/01922053ae046d73428e31a7333f2fc2117938
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/7596259bf6cd12df0a5e8fa58c827d796c12b6
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/739dc5d67731d6a23223332ed7de5aa3689ed2
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/f47028a6c476bb5900f6a80be5ed8020ebbff8
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/a5bfb16d329d1278f3136bf9bc6e9ba8f6db31
/usr/lib/libNiSampleModule.so
/usr/lib/libOpenNI.jni.so
/usr/lib/libOpenNI.so
/usr/lib/libnimCodecs.so
/usr/lib/libnimMockNodes.so
/usr/lib/libnimRecorder.so
/usr/share/doc/openni
/usr/share/doc/openni/CHANGES
/usr/share/doc/openni/LICENSE
/usr/share/doc/openni/NOTICE
/usr/share/doc/openni/README
/var/lib/ni
/var/lib/ni/modules.xml

References

Summary

In this tutorial we learn how to install openni on Fedora 34 using yum and dnf.