How To Install libfdkaac-ocaml-dynlink on Ubuntu 18.04

In this tutorial we learn how to install libfdkaac-ocaml-dynlink on Ubuntu 18.04. libfdkaac-ocaml-dynlink is OCaml interface to the fdkaac library – runtime files

Introduction

In this tutorial we learn how to install libfdkaac-ocaml-dynlink on Ubuntu 18.04.

libfdkaac-ocaml-dynlink is:

This package provides an interface to the fdkaac library for OCaml programmers.

The FDK AAC Codec Library For Android contains an encoder implementation of the Advanced Audio Coding (AAC) audio codec.

This package contains the modules needed to dynamically load ocaml-fdkaac in a program.

There are three methods to install libfdkaac-ocaml-dynlink 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.

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

sudo apt-get update

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

sudo apt-get -y install libfdkaac-ocaml-dynlink

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libfdkaac-ocaml-dynlink using apt by running the following command:

sudo apt -y install libfdkaac-ocaml-dynlink

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 libfdkaac-ocaml-dynlink using aptitude by running the following command:

sudo aptitude -y install libfdkaac-ocaml-dynlink

To uninstall only the libfdkaac-ocaml-dynlink package we can use the following command:

sudo apt-get remove libfdkaac-ocaml-dynlink

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

sudo apt-get -y autoremove libfdkaac-ocaml-dynlink

To remove libfdkaac-ocaml-dynlink configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libfdkaac-ocaml-dynlink

We can use the following command to remove libfdkaac-ocaml-dynlink configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libfdkaac-ocaml-dynlink

References

Summary

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