How To Install libspatialaudio-dev on Debian 10

Learn how to install libspatialaudio-dev on Debian 10 with this tutorial. libspatialaudio-dev is library for ambisonic encoding and decoding (development files)

Introduction

In this tutorial we learn how to install libspatialaudio-dev on Debian 10.

What is libspatialaudio-dev

libspatialaudio-dev is:

libspatialaudio is an open-source and cross-platform C++ library for Ambisonic encoding and decoding, filtering and binaural rendering. It is targeted to render High-Order Ambisonic (HOA) and VR/3D audio samples in multiple environments, from headphones to classic loudspeakers. Its binaural rendering can be used for classical 5.1/7.1 spatial channels as well as Ambisonics inputs. It supports Higher Order Ambisonics (HOA) and ACN/SN3D Ambisonics audio streams following the Google spatial audio specification and the IETF codec Ambisonics specification.

The library allows you to encode, decode, rotate, zoom HOA Ambisonics audio streams up to the 3rd order. It can output to standard and custom loudspeakers arrays. To playback with headphones, the binauralizer applies an HRTF (either a SOFA file or the included MIT HRTF) to provide a spatial binaural rendering effect. The binauralization can also be used to render multichannels streams (5.1, 7.1…).

This package contains the development files.

There are three methods to install libspatialaudio-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libspatialaudio-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 libspatialaudio-dev using apt-get by running the following command:

sudo apt-get -y install libspatialaudio-dev

Install libspatialaudio-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libspatialaudio-dev

Install libspatialaudio-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libspatialaudio-dev

How To Uninstall libspatialaudio-dev on Debian 10

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

sudo apt-get remove libspatialaudio-dev

Uninstall libspatialaudio-dev And Its Dependencies

To uninstall libspatialaudio-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libspatialaudio-dev

Remove libspatialaudio-dev Configurations and Data

To remove libspatialaudio-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libspatialaudio-dev

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

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

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

Dependencies

libspatialaudio-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libspatialaudio-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.