How To Install libwebcam on Fedora 34

libwebcam is A library for user-space configuration of the uvcvideo driver A library for user-space configuration of the uvcvideo driver

Introduction

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

What is libwebcam

Libwebcam provides a user-space library for interaction with the uvcvideo kernel driver. One could use this library to manipulate settings for one or many UVC-type webcams found attached on a single computer. libwebcam 0.2.5 7.fc34 x86_64 39 k libwebcam-0.2.5-7.fc34.src.rpm fedora A library for user-space configuration of the uvcvideo driver http LGPLv3+ Libwebcam provides a user-space library for interaction with the uvcvideo kernel driver. One could use this library to manipulate settings for one or many UVC-type webcams found attached on a single computer.

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

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

sudo dnf -y install libwebcam

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

sudo yum -y install libwebcam

How To Uninstall libwebcam on Fedora 34

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

sudo dnf remove libwebcam

libwebcam Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/e7a50dda2675f8eda7413e58a48f32b18fa9cf
/usr/lib/libwebcam.so.0
/usr/lib/libwebcam.so.0.2.6
/usr/share/doc/libwebcam
/usr/share/doc/libwebcam/COPYING.LESSER
/usr/share/doc/libwebcam/README
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/f5d4d022bbb7a25c8e914574b8e5a896d01b7a
/usr/lib64/libwebcam.so.0
/usr/lib64/libwebcam.so.0.2.6
/usr/share/doc/libwebcam
/usr/share/doc/libwebcam/COPYING.LESSER
/usr/share/doc/libwebcam/README

References

Summary

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