How To Install libmyth-dev on Ubuntu 18.04

In this tutorial we learn how to install libmyth-dev on Ubuntu 18.04. libmyth-dev is Common library code for MythTV and add-on modules (development)

Introduction

In this tutorial we learn how to install libmyth-dev on Ubuntu 18.04.

What is libmyth-dev

libmyth-dev 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 developing applications which use libmyth (such as the various add-ons for MythTV)

There are three methods to install libmyth-dev 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 libmyth-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libmyth-dev using apt-get by running the following command:

sudo apt-get -y install libmyth-dev

Install libmyth-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmyth-dev

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

sudo aptitude -y install libmyth-dev

How To Uninstall libmyth-dev on Ubuntu 18.04

To uninstall only the libmyth-dev package we can use the following command:

sudo apt-get remove libmyth-dev

Uninstall libmyth-dev And Its Dependencies

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

sudo apt-get -y autoremove libmyth-dev

Remove libmyth-dev Configurations and Data

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

sudo apt-get -y purge libmyth-dev

Remove libmyth-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmyth-dev

References

Summary

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