How To Install libmythtv-perl on Ubuntu 18.04

In this tutorial we learn how to install libmythtv-perl on Ubuntu 18.04. libmythtv-perl is Perl library to access some MythTV features

Introduction

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

What is libmythtv-perl

libmythtv-perl is:

MythTV provides a unified graphical interface for recording and viewing television programs. Refer to the mythtv package for more information.

This package contains files needed for some PERL MythTV add-ons like nuvexport or mythrename.pl.

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

sudo apt-get -y install libmythtv-perl

Install libmythtv-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmythtv-perl

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

sudo aptitude -y install libmythtv-perl

How To Uninstall libmythtv-perl on Ubuntu 18.04

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

sudo apt-get remove libmythtv-perl

Uninstall libmythtv-perl And Its Dependencies

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

sudo apt-get -y autoremove libmythtv-perl

Remove libmythtv-perl Configurations and Data

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

sudo apt-get -y purge libmythtv-perl

Remove libmythtv-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmythtv-perl

References

Summary

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