How To Install mpeg3-utils on Ubuntu 18.04

In this tutorial we learn how to install mpeg3-utils on Ubuntu 18.04. mpeg3-utils is MPEG streams decoding library

Introduction

In this tutorial we learn how to install mpeg3-utils on Ubuntu 18.04.

What is mpeg3-utils

mpeg3-utils is:

LibMPEG3 is a versatile and high-performance library capable of decoding both audio and video from many different MPEG formats.

This package includes several utilities for working with MPEG2 streams.

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

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

sudo apt-get update

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

sudo apt-get -y install mpeg3-utils

Install mpeg3-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mpeg3-utils

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

sudo aptitude -y install mpeg3-utils

How To Uninstall mpeg3-utils on Ubuntu 18.04

To uninstall only the mpeg3-utils package we can use the following command:

sudo apt-get remove mpeg3-utils

Uninstall mpeg3-utils And Its Dependencies

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

sudo apt-get -y autoremove mpeg3-utils

Remove mpeg3-utils Configurations and Data

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

sudo apt-get -y purge mpeg3-utils

Remove mpeg3-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mpeg3-utils

References

Summary

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