How To Install libfaac0 on Ubuntu 18.04

In this tutorial we learn how to install libfaac0 on Ubuntu 18.04. libfaac0 is AAC audio encoder (library)

Introduction

In this tutorial we learn how to install libfaac0 on Ubuntu 18.04.

What is libfaac0

libfaac0 is:

The FAAC project includes the AAC encoder FAAC and decoder FAAD2. It supports several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless en/decoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles.

This package contains the shared library and an extra library with support for Digital Radio Mondiale (DRM).

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

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

sudo apt-get update

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

sudo apt-get -y install libfaac0

Install libfaac0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libfaac0 using apt by running the following command:

sudo apt -y install libfaac0

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

sudo aptitude -y install libfaac0

How To Uninstall libfaac0 on Ubuntu 18.04

To uninstall only the libfaac0 package we can use the following command:

sudo apt-get remove libfaac0

Uninstall libfaac0 And Its Dependencies

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

sudo apt-get -y autoremove libfaac0

Remove libfaac0 Configurations and Data

To remove libfaac0 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libfaac0

Remove libfaac0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfaac0

References

Summary

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