How To Install libsamplerate.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libsamplerate.x86_64 in Amazon Linux 2. libsamplerate.x86_64 is Sample rate conversion library for audio data

Introduction

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

What is libsamplerate.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.

We can use yum to install libsamplerate.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.x86_64.

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

sudo yum -y install libsamplerate.x86_64

How To Uninstall libsamplerate.x86_64 on Amazon Linux 2

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

sudo yum remove libsamplerate.x86_64

libsamplerate.x86_64 Package Contents on Amazon Linux 2

/usr/bin/sndfile-resample
/usr/lib64/libsamplerate.so.0
/usr/lib64/libsamplerate.so.0.1.8
/usr/share/doc/libsamplerate-0.1.8
/usr/share/doc/libsamplerate-0.1.8/AUTHORS
/usr/share/doc/libsamplerate-0.1.8/COPYING
/usr/share/doc/libsamplerate-0.1.8/ChangeLog
/usr/share/doc/libsamplerate-0.1.8/NEWS
/usr/share/doc/libsamplerate-0.1.8/README
/usr/share/doc/libsamplerate-0.1.8/SRC.css
/usr/share/doc/libsamplerate-0.1.8/SRC.png
/usr/share/doc/libsamplerate-0.1.8/api.html
/usr/share/doc/libsamplerate-0.1.8/api_callback.html
/usr/share/doc/libsamplerate-0.1.8/api_full.html
/usr/share/doc/libsamplerate-0.1.8/api_misc.html
/usr/share/doc/libsamplerate-0.1.8/api_simple.html
/usr/share/doc/libsamplerate-0.1.8/download.html
/usr/share/doc/libsamplerate-0.1.8/faq.html
/usr/share/doc/libsamplerate-0.1.8/history.html
/usr/share/doc/libsamplerate-0.1.8/index.html
/usr/share/doc/libsamplerate-0.1.8/license.html
/usr/share/doc/libsamplerate-0.1.8/lists.html
/usr/share/doc/libsamplerate-0.1.8/quality.html
/usr/share/doc/libsamplerate-0.1.8/win32.html

References

Summary

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