How To Install libwebservice-youtube-perl on Ubuntu 18.04

In this tutorial we learn how to install libwebservice-youtube-perl on Ubuntu 18.04. libwebservice-youtube-perl is Perl module that provides an interface to YouTube services

Introduction

In this tutorial we learn how to install libwebservice-youtube-perl on Ubuntu 18.04.

What is libwebservice-youtube-perl

libwebservice-youtube-perl is:

WebService::YouTube provides a Perl interface to YouTube programming interface and corresponding RSS services. This module only supports the Legacy API, not the Data API based on the Google data protocol.

There are three methods to install libwebservice-youtube-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 libwebservice-youtube-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 libwebservice-youtube-perl using apt-get by running the following command:

sudo apt-get -y install libwebservice-youtube-perl

Install libwebservice-youtube-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwebservice-youtube-perl

Install libwebservice-youtube-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 libwebservice-youtube-perl using aptitude by running the following command:

sudo aptitude -y install libwebservice-youtube-perl

How To Uninstall libwebservice-youtube-perl on Ubuntu 18.04

To uninstall only the libwebservice-youtube-perl package we can use the following command:

sudo apt-get remove libwebservice-youtube-perl

Uninstall libwebservice-youtube-perl And Its Dependencies

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

sudo apt-get -y autoremove libwebservice-youtube-perl

Remove libwebservice-youtube-perl Configurations and Data

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

sudo apt-get -y purge libwebservice-youtube-perl

Remove libwebservice-youtube-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwebservice-youtube-perl

References

Summary

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