How To Install audiofile on CentOS 8

audiofile is Library for accessing various audio file formats

Introduction

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

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.

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

Install audiofile on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install audiofile

Install audiofile on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install audiofile

How To Uninstall audiofile on CentOS 8

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

sudo dnf remove audiofile

audiofile Package Contents on CentOS 8

/usr/bin/sfconvert
/usr/bin/sfinfo
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/01163a6007a251e0cc8ffd62394a06943724dc
/usr/lib/.build-id/94
/usr/lib/.build-id/94/e63a0bbb11552d69611f7eb0b589bf49a1b7e5
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/c2fc327110d78f12f8892df4c9fad677d8ef5a
/usr/lib64/libaudiofile.so.1
/usr/lib64/libaudiofile.so.1.0.0
/usr/share/doc/audiofile
/usr/share/doc/audiofile/ACKNOWLEDGEMENTS
/usr/share/doc/audiofile/AUTHORS
/usr/share/doc/audiofile/NEWS
/usr/share/doc/audiofile/NOTES
/usr/share/doc/audiofile/README
/usr/share/doc/audiofile/TODO
/usr/share/licenses/audiofile
/usr/share/licenses/audiofile/COPYING
/usr/share/licenses/audiofile/COPYING.GPL
/usr/share/man/man1/sfconvert.1.gz
/usr/share/man/man1/sfinfo.1.gz

References

Summary

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