How To Install libfaac-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libfaac-dev on Ubuntu 20.04.
What is libfaac-dev
libfaac-dev 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 development files.
There are three methods to install libfaac-dev on Ubuntu 20.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 libfaac-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 libfaac-dev using apt-get by running the following command:
sudo apt-get -y install libfaac-dev
Install libfaac-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libfaac-dev using apt by running the following command:
sudo apt -y install libfaac-dev
Install libfaac-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 libfaac-dev using aptitude by running the following command:
sudo aptitude -y install libfaac-dev
How To Uninstall libfaac-dev on Ubuntu 20.04
To uninstall only the libfaac-dev package we can use the following command:
sudo apt-get remove libfaac-dev
Uninstall libfaac-dev And Its Dependencies
To uninstall libfaac-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libfaac-dev
Remove libfaac-dev Configurations and Data
To remove libfaac-dev configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libfaac-dev
Remove libfaac-dev configuration, data, and all of its dependencies
We can use the following command to remove libfaac-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfaac-dev
References
Summary
In this tutorial we learn how to install libfaac-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.