How To Install mythtv-dbg on Ubuntu 18.04

In this tutorial we learn how to install mythtv-dbg on Ubuntu 18.04. mythtv-dbg is Debug symbols for mythtv packages

Introduction

In this tutorial we learn how to install mythtv-dbg on Ubuntu 18.04.

What is mythtv-dbg

mythtv-dbg is:

This package provides all debug symbols for mythtv packages since ddebs don’t appear to always do the right thing.

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

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

sudo apt-get update

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

sudo apt-get -y install mythtv-dbg

Install mythtv-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mythtv-dbg

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

sudo aptitude -y install mythtv-dbg

How To Uninstall mythtv-dbg on Ubuntu 18.04

To uninstall only the mythtv-dbg package we can use the following command:

sudo apt-get remove mythtv-dbg

Uninstall mythtv-dbg And Its Dependencies

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

sudo apt-get -y autoremove mythtv-dbg

Remove mythtv-dbg Configurations and Data

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

sudo apt-get -y purge mythtv-dbg

Remove mythtv-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mythtv-dbg

References

Summary

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