How To Install libresample on AlmaLinux 8

In this tutorial we learn how to install libresample in AlmaLinux 8. libresample is A real-time library for audio sampling rate conversion

Introduction

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

What is libresample

A real-time library for audio sampling rate conversion providing several useful features relative to resample-1.7 on which it is based * It should build “out of the box” on more platforms, including Linux, Solaris, and Mac OS X (using the included configure script). There is also a Visual C++ project file for building under Windows. * Input and output signals are in memory (as opposed to sound files). * Computations are in floating-point (instead of fixed-point). * Filter table increased by a factor of 32, yielding more accurate results, even without linear interpolation (which also makes it faster). * Data can be processed in small chunks, enabling time-varying resampling ratios (ideal for time-warping applications and supporting an ``external clock input’’ in software). * Easily applied to any number of simultaneous data channels

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

Install libresample 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 libresample using dnf by running the following command:

sudo dnf -y install libresample

Install libresample 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 libresample using yum by running the following command:

sudo yum -y install libresample

How To Uninstall libresample on AlmaLinux 8

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

sudo dnf remove libresample

References

Summary

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