How To Install libv4l-devel on Rocky Linux 8

In this tutorial we learn how to install libv4l-devel on Rocky Linux 8. libv4l-devel is Development files for libv4l

Introduction

In this tutorial we learn how to install libv4l-devel on Rocky Linux 8.

What is libv4l-devel

The libv4l-devel package contains libraries and header files for developing applications that use libv4l.

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

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

sudo dnf -y install libv4l-devel

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

sudo yum -y install libv4l-devel

How To Uninstall libv4l-devel on Rocky Linux 8

To uninstall only the libv4l-devel package we can use the following command:

sudo dnf remove libv4l-devel

libv4l-devel Package Contents on Rocky Linux 8

/usr/include/libv4l-plugin.h
/usr/include/libv4l1-videodev.h
/usr/include/libv4l1.h
/usr/include/libv4l2.h
/usr/include/libv4l2rds.h
/usr/include/libv4lconvert.h
/usr/lib/libv4l1.so
/usr/lib/libv4l2.so
/usr/lib/libv4l2rds.so
/usr/lib/libv4lconvert.so
/usr/lib/pkgconfig/libv4l1.pc
/usr/lib/pkgconfig/libv4l2.pc
/usr/lib/pkgconfig/libv4l2rds.pc
/usr/lib/pkgconfig/libv4lconvert.pc
/usr/share/doc/libv4l-devel
/usr/share/doc/libv4l-devel/README.lib-multi-threading
/usr/include/libv4l-plugin.h
/usr/include/libv4l1-videodev.h
/usr/include/libv4l1.h
/usr/include/libv4l2.h
/usr/include/libv4l2rds.h
/usr/include/libv4lconvert.h
/usr/lib64/libv4l1.so
/usr/lib64/libv4l2.so
/usr/lib64/libv4l2rds.so
/usr/lib64/libv4lconvert.so
/usr/lib64/pkgconfig/libv4l1.pc
/usr/lib64/pkgconfig/libv4l2.pc
/usr/lib64/pkgconfig/libv4l2rds.pc
/usr/lib64/pkgconfig/libv4lconvert.pc
/usr/share/doc/libv4l-devel
/usr/share/doc/libv4l-devel/README.lib-multi-threading

References

Summary

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