How To Install libsndfile.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libsndfile.x86_64 in Amazon Linux 2. libsndfile.x86_64 is Library for reading and writing sound files

Introduction

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

What is libsndfile.x86_64

libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. It can currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and 64-bit floating point WAV files and a number of compressed formats. It compiles and runs on *nix, MacOS, and Win32.

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

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

sudo yum -y install libsndfile.x86_64

How To Uninstall libsndfile.x86_64 on Amazon Linux 2

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

sudo yum remove libsndfile.x86_64

libsndfile.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libsndfile.so.1
/usr/lib64/libsndfile.so.1.0.25
/usr/share/doc/libsndfile-1.0.25
/usr/share/doc/libsndfile-1.0.25/AUTHORS
/usr/share/doc/libsndfile-1.0.25/COPYING
/usr/share/doc/libsndfile-1.0.25/NEWS
/usr/share/doc/libsndfile-1.0.25/README

References

Summary

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