How To Install libunicap on Rocky Linux 8

In this tutorial we learn how to install libunicap on Rocky Linux 8. libunicap is Library to access different kinds of (video) capture devices

Introduction

In this tutorial we learn how to install libunicap on Rocky Linux 8.

What is libunicap

Unicap provides a uniform interface to video capture devices. It allows applications to use any supported video capture device via a single API. The unicap library offers a high level of hardware abstraction while maintaining maximum performance. Zero copy capture of video buffers is possible for devices supporting it allowing fast video capture with low CPU usage even on low-speed architectures.

We can use yum or dnf to install libunicap on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libunicap.

Install libunicap on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libunicap

Install libunicap on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libunicap

How To Uninstall libunicap on Rocky Linux 8

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

sudo dnf remove libunicap

libunicap Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/204b93c31999bbd1c0d9194de2ff4535c0595e
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/81b0a59a4894dd9730a840fbc1ef839fe06937
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/df77684bb8614e8d2de92433359972cb5729bd
/usr/lib/.build-id/65
/usr/lib/.build-id/65/a2b43e1f9a332e94e87471db05ab70a3eecc2f
/usr/lib/.build-id/90
/usr/lib/.build-id/90/1462e19932a153ccc0dd8508e8cd743cb83601
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/1ae10ac530e846a1ed27f960bf53ba8db0acd3
/usr/lib/libunicap.so.2
/usr/lib/libunicap.so.2.2.0
/usr/lib/udev/rules.d/50-euvccam.rules
/usr/lib/unicap2
/usr/lib/unicap2/cpi
/usr/lib/unicap2/cpi/libdcam.so
/usr/lib/unicap2/cpi/libeuvccam_cpi.so
/usr/lib/unicap2/cpi/libv4l.so
/usr/lib/unicap2/cpi/libv4l2cpi.so
/usr/lib/unicap2/cpi/libvid21394.so
/usr/share/doc/libunicap
/usr/share/doc/libunicap/AUTHORS
/usr/share/doc/libunicap/COPYING
/usr/share/doc/libunicap/ChangeLog
/usr/share/doc/libunicap/README
/usr/share/locale/de/LC_MESSAGES/unicap.mo
/usr/share/locale/fr/LC_MESSAGES/unicap.mo
/usr/share/locale/ru/LC_MESSAGES/unicap.mo
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/bfbf96dd2501cd81d80efb828c73b8e1216941
/usr/lib/.build-id/75
/usr/lib/.build-id/75/7a1c53a9aa2a93a94468a7aa988bd8dda7c215
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/a7feb671ac2514b49d78fa2994fadcd3a5d464
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/22858a1c678cd664c92d33dfdb165c9a5e636a
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/44ea6317540086c6a0e80e50c13e9d00fa2d5c
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/b81ff08cc2594d688d5d93d01cd4a21009b1f3
/usr/lib/udev/rules.d/50-euvccam.rules
/usr/lib64/libunicap.so.2
/usr/lib64/libunicap.so.2.2.0
/usr/lib64/unicap2
/usr/lib64/unicap2/cpi
/usr/lib64/unicap2/cpi/libdcam.so
/usr/lib64/unicap2/cpi/libeuvccam_cpi.so
/usr/lib64/unicap2/cpi/libv4l.so
/usr/lib64/unicap2/cpi/libv4l2cpi.so
/usr/lib64/unicap2/cpi/libvid21394.so
/usr/share/doc/libunicap
/usr/share/doc/libunicap/AUTHORS
/usr/share/doc/libunicap/COPYING
/usr/share/doc/libunicap/ChangeLog
/usr/share/doc/libunicap/README
/usr/share/locale/de/LC_MESSAGES/unicap.mo
/usr/share/locale/fr/LC_MESSAGES/unicap.mo
/usr/share/locale/ru/LC_MESSAGES/unicap.mo

References

Summary

In this tutorial we learn how to install libunicap on Rocky Linux 8 using yum and dnf.