How To Install libunicap on Fedora 34

libunicap is Library to access different kinds of (video) capture devices Library to access different kinds of (video) capture devices

Introduction

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

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. libunicap 0.9.12 28.fc34 x86_64 128 k libunicap-0.9.12-28.fc34.src.rpm fedora Library to access different kinds of (video) capture devices https GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libunicap.

Install libunicap 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 libunicap using dnf by running the following command:

sudo dnf -y install libunicap

Install libunicap 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 libunicap using yum by running the following command:

sudo yum -y install libunicap

How To Uninstall libunicap on Fedora 34

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

sudo dnf remove libunicap

libunicap Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/ab41d5a4199d658f801d335379828c04dc3564
/usr/lib/.build-id/06
/usr/lib/.build-id/06/84e23191e8f36ea23efb987af2b02a02cc7a9e
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/d443eca937dd799750842e11f9893988034509
/usr/lib/.build-id/15
/usr/lib/.build-id/15/f01a7cd933ebc896b36afbe1baa261456f6b25
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/67d60c725a9d5402a331a56e1a5588917894cc
/usr/lib/.build-id/be
/usr/lib/.build-id/be/cb397927e258932688c9044b1d6e5200a2912f
/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/ChangeLog
/usr/share/doc/libunicap/README
/usr/share/licenses/libunicap
/usr/share/licenses/libunicap/COPYING
/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/0e
/usr/lib/.build-id/0e/46d43f1d893b71b410d1f49b8cbb71cf130d16
/usr/lib/.build-id/17
/usr/lib/.build-id/17/4f271ecc6c550b459daec260de324f07c1b6fa
/usr/lib/.build-id/18
/usr/lib/.build-id/18/8c28f3fec1fa63fa4e0283a719580b899b26b3
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/7398e35ac32b51d8fbb734e15372d01b9c602f
/usr/lib/.build-id/98
/usr/lib/.build-id/98/d3b427ef45422bf6dfad71bfc2348766b61def
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/42e4f714a51511c3186947b7c507fc6d2dcbd3
/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/ChangeLog
/usr/share/doc/libunicap/README
/usr/share/licenses/libunicap
/usr/share/licenses/libunicap/COPYING
/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 Fedora 34 using yum and dnf.