How To Install libvideo-ivtv-perl on Debian 9

In this tutorial we learn how to install libvideo-ivtv-perl on Debian 9. libvideo-ivtv-perl is Perl extension for using V4l2 in the ivtv perl scripts

Introduction

In this tutorial we learn how to install libvideo-ivtv-perl on Debian 9.

What is libvideo-ivtv-perl

libvideo-ivtv-perl is:

The Video::ivtv module will provide helper methods for working with videodev2.h structures and making ioctl calls that have proven to be too difficult to create pack strings for in perl itself.

This is not supposed to be an equivalent of the Video::Capture::V4l module which was created for videodev.h.

There are three methods to install libvideo-ivtv-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvideo-ivtv-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libvideo-ivtv-perl using apt-get by running the following command:

sudo apt-get -y install libvideo-ivtv-perl

Install libvideo-ivtv-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvideo-ivtv-perl using apt by running the following command:

sudo apt -y install libvideo-ivtv-perl

Install libvideo-ivtv-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libvideo-ivtv-perl using aptitude by running the following command:

sudo aptitude -y install libvideo-ivtv-perl

How To Uninstall libvideo-ivtv-perl on Debian 9

To uninstall only the libvideo-ivtv-perl package we can use the following command:

sudo apt-get remove libvideo-ivtv-perl

Uninstall libvideo-ivtv-perl And Its Dependencies

To uninstall libvideo-ivtv-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libvideo-ivtv-perl

Remove libvideo-ivtv-perl Configurations and Data

To remove libvideo-ivtv-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libvideo-ivtv-perl

Remove libvideo-ivtv-perl configuration, data, and all of its dependencies

We can use the following command to remove libvideo-ivtv-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvideo-ivtv-perl

Dependencies

libvideo-ivtv-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libvideo-ivtv-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.