How To Install libspatialaudio on Rocky Linux 8

In this tutorial we learn how to install libspatialaudio on Rocky Linux 8. libspatialaudio is Ambisonic encoding / decoding and binauralization library

Introduction

In this tutorial we learn how to install libspatialaudio on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libspatialaudio.

Install libspatialaudio on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libspatialaudio

Install libspatialaudio on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libspatialaudio

How To Uninstall libspatialaudio on Rocky Linux 8

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

sudo dnf remove libspatialaudio

libspatialaudio Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/c4c52d0b5e86401e3177de71905f55e1f9144d
/usr/lib64/libspatialaudio.so.1
/usr/lib64/libspatialaudio.so.1.0.0
/usr/share/doc/libspatialaudio
/usr/share/doc/libspatialaudio/README.md
/usr/share/licenses/libspatialaudio
/usr/share/licenses/libspatialaudio/LICENSE

References

Summary

In this tutorial we learn how to install libspatialaudio on Rocky Linux 8 using yum and dnf.