How To Install libsamplerate on AlmaLinux 8

In this tutorial we learn how to install libsamplerate in AlmaLinux 8. libsamplerate is Sample rate conversion library for audio data

Introduction

In this tutorial we learn how to install libsamplerate on AlmaLinux 8.

What is libsamplerate

Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. It can downsample by a factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. The conversion ratio can also vary with time for speeding up and slowing down effects.

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

Install libsamplerate on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsamplerate

Install libsamplerate on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libsamplerate

How To Uninstall libsamplerate on AlmaLinux 8

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

sudo dnf remove libsamplerate

References

Summary

In this tutorial we learn how to install libsamplerate on AlmaLinux 8 using yum and dnf.