How To Install libspatialaudio on CentOS 7

In this tutorial we learn how to install libspatialaudio on CentOS 7. libspatialaudio is Ambisonic encoding / decoding and binauralization library

Introduction

In this tutorial we learn how to install libspatialaudio on CentOS 7.

What is libspatialaudio

libspatialaudio is an open-source and cross-platform C++ library for Ambisonic encoding and decoding, filtering and binaural rendering. It is targetted 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.

We can use yum or dnf to install libspatialaudio on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libspatialaudio.

Install libspatialaudio on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libspatialaudio using yum by running the following command:

sudo yum -y install libspatialaudio

Install libspatialaudio on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libspatialaudio using dnf by running the following command:

sudo dnf -y install libspatialaudio

How To Uninstall libspatialaudio on CentOS 7

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

sudo dnf remove libspatialaudio

References

Summary

In this tutorial we learn how to install libspatialaudio on CentOS 7 using yum and dnf.