How To Install audiofile on CentOS 7

In this tutorial we learn how to install audiofile on CentOS 7. audiofile is A library for accessing various audio file formats

Introduction

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

What is audiofile

The Audio File library is an implementation of the Audio File Library from SGI, which provides an API for accessing audio file formats like AIFF/AIFF-C, WAVE, and NeXT/Sun .snd/.au files. This library is used by the EsounD daemon. Install audiofile if you are installing EsounD or you need an API for any of the sound file formats it can handle. The Audio File library is an implementation of the Audio File Library from SGI, which provides an API for accessing audio file formats like AIFF/AIFF-C, WAVE, and NeXT/Sun .snd/.au files. This library is used by the EsounD daemon. Install audiofile if you are installing EsounD or you need an API for any of the sound file formats it can handle.

We can use yum or dnf to install audiofile on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install audiofile.

Install audiofile on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install audiofile

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

sudo dnf -y install audiofile

How To Uninstall audiofile on CentOS 7

To uninstall only the audiofile package we can use the following command:

sudo dnf remove audiofile

References

Summary

In this tutorial we learn how to install audiofile on CentOS 7 using yum and dnf.