How To Install libsamplerate-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libsamplerate-devel.x86_64 in Amazon Linux 2. libsamplerate-devel.x86_64 is Development related files for libsamplerate

Introduction

In this tutorial we learn how to install libsamplerate-devel.x86_64 on Amazon Linux 2.

What is libsamplerate-devel.x86_64

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. This package contains development files for libsamplerate

We can use yum to install libsamplerate-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libsamplerate-devel.x86_64.

Install libsamplerate-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libsamplerate-devel.x86_64

How To Uninstall libsamplerate-devel.x86_64 on Amazon Linux 2

To uninstall only the libsamplerate-devel.x86_64 package we can use the following command:

sudo yum remove libsamplerate-devel.x86_64

libsamplerate-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/samplerate.h
/usr/lib64/libsamplerate.so
/usr/lib64/pkgconfig/samplerate.pc

References

Summary

In this tutorial we learn how to install libsamplerate-devel.x86_64 on Amazon Linux 2 using yum.