How To Install openni-primesense on Fedora 36

In this tutorial we learn how to install openni-primesense in Fedora 36. openni-primesense is PrimeSensor/Kinect Modules for OpenNI

Introduction

In this tutorial we learn how to install openni-primesense on Fedora 36.

What is openni-primesense

This modules enables OpenNI to make use of the PrimeSense, also known as Kinect depth camera.

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

Install openni-primesense on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install openni-primesense

Install openni-primesense on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install openni-primesense

How To Uninstall openni-primesense on Fedora 36

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

sudo dnf remove openni-primesense

openni-primesense Package Contents on Fedora 36

/etc/openni/primesense
/etc/openni/primesense/GlobalDefaults.ini
/usr/bin/XnSensorServer
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/82127338b5ff9122d816cf261882fdf4eb2493
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/1e553a90136063858f3f04de76b37e9163e18b
/usr/lib/.build-id/24
/usr/lib/.build-id/24/cb8795143d01591cece8007ce6b916271e0a22
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/54c38382447ed968187316bf208dfbba6ca821
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/55a9b9614ee6936c38b89f0d85d1c38cb22426
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/1cdba969ad31eaba39748d8ec2024a1b245f76
/usr/lib/udev/rules.d/55-primesense-usb.rules
/usr/lib64/libXnCore.so
/usr/lib64/libXnDDK.so
/usr/lib64/libXnDeviceFile.so
/usr/lib64/libXnDeviceSensorV2.so
/usr/lib64/libXnFormats.so
/usr/share/doc/openni-primesense
/usr/share/doc/openni-primesense/LICENSE

References

Summary

In this tutorial we learn how to install openni-primesense on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).