How To Install libsndfile.i686 on Amazon Linux 2

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

Introduction

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

What is libsndfile.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libsndfile.i686.

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

sudo yum -y install libsndfile.i686

How To Uninstall libsndfile.i686 on Amazon Linux 2

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

sudo yum remove libsndfile.i686

libsndfile.i686 Package Contents on Amazon Linux 2

/usr/lib/libsndfile.so.1
/usr/lib/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.i686 on Amazon Linux 2 using yum.