How To Install libsamplerate on CentOS 7

In this tutorial we learn how to install libsamplerate on CentOS 7. libsamplerate is Sample rate conversion library for audio data

Introduction

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

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

Install libsamplerate on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libsamplerate

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

sudo dnf -y install libsamplerate

How To Uninstall libsamplerate on CentOS 7

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 CentOS 7 using yum and dnf.