How To Install libvideo-info-perl on Ubuntu 18.04

In this tutorial we learn how to install libvideo-info-perl on Ubuntu 18.04. libvideo-info-perl is Perl module to examine video files

Introduction

In this tutorial we learn how to install libvideo-info-perl on Ubuntu 18.04.

What is libvideo-info-perl

libvideo-info-perl is:

Video::Info is a module for working with video files. It can open files and determine its most likely type, then extract information such as play length, bitrate, resolution, dimensions, etc.

Currently there is support for MPEG, AVI, ASF and RIFF. There is Quicktime support in the upstream module which has been disabled in Debian because there is no current package for openquicktime. If you would like to see support for this, please file a bug report.

There are three methods to install libvideo-info-perl on Ubuntu 18.04. 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-info-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-info-perl using apt-get by running the following command:

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

Install libvideo-info-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvideo-info-perl

Install libvideo-info-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libvideo-info-perl

How To Uninstall libvideo-info-perl on Ubuntu 18.04

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

sudo apt-get remove libvideo-info-perl

Uninstall libvideo-info-perl And Its Dependencies

To uninstall libvideo-info-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

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

Remove libvideo-info-perl Configurations and Data

To remove libvideo-info-perl configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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