How To Install libaften-dev on Ubuntu 18.04

In this tutorial we learn how to install libaften-dev on Ubuntu 18.04. libaften-dev is audio AC3 encoder - development files

Introduction

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

What is libaften-dev

libaften-dev is:

Aften is an audio encoder which generates compressed audio streams based on ATSC A/52 specification. This type of audio is also known as AC-3 or Dolby® Digital and is one of the audio codecs used in DVD-Video content.

This package contains the development files.

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

sudo apt-get -y install libaften-dev

Install libaften-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libaften-dev

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

sudo aptitude -y install libaften-dev

How To Uninstall libaften-dev on Ubuntu 18.04

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

sudo apt-get remove libaften-dev

Uninstall libaften-dev And Its Dependencies

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

sudo apt-get -y autoremove libaften-dev

Remove libaften-dev Configurations and Data

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

sudo apt-get -y purge libaften-dev

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

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

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

References

Summary

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