How To Install audiofile-devel on CentOS 8

audiofile-devel is Development files for Audio File applications

Introduction

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

What is audiofile-devel

The audiofile-devel package contains libraries, include files, and other resources you can use to develop Audio File applications.

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

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

sudo dnf -y install audiofile-devel

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

sudo yum -y install audiofile-devel

How To Uninstall audiofile-devel on CentOS 8

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

sudo dnf remove audiofile-devel

audiofile-devel Package Contents on CentOS 8

/usr/include/af_vfs.h
/usr/include/audiofile.h
/usr/include/aupvlist.h
/usr/lib64/libaudiofile.so
/usr/lib64/pkgconfig/audiofile.pc
/usr/share/doc/audiofile-devel
/usr/share/doc/audiofile-devel/ChangeLog
/usr/share/doc/audiofile-devel/afCloseFile.3.txt
/usr/share/doc/audiofile-devel/afGetFrameCount.3.txt
/usr/share/doc/audiofile-devel/afGetFrameSize.3.txt
/usr/share/doc/audiofile-devel/afInitAESChannelDataTo.3.txt
/usr/share/doc/audiofile-devel/afInitCompression.3.txt
/usr/share/doc/audiofile-devel/afInitFileFormat.3.txt
/usr/share/doc/audiofile-devel/afInitSampleFormat.3.txt
/usr/share/doc/audiofile-devel/afNewFileSetup.3.txt
/usr/share/doc/audiofile-devel/afOpenFile.3.txt
/usr/share/doc/audiofile-devel/afQuery.3.txt
/usr/share/doc/audiofile-devel/afReadFrames.3.txt
/usr/share/doc/audiofile-devel/afReadMisc.3.txt
/usr/share/doc/audiofile-devel/afSeekFrame.3.txt
/usr/share/doc/audiofile-devel/afSetErrorHandler.3.txt
/usr/share/doc/audiofile-devel/afSetVirtualSampleFormat.3.txt
/usr/share/doc/audiofile-devel/afWriteFrames.3.txt
/usr/share/man/man3/afCloseFile.3.gz
/usr/share/man/man3/afGetDataOffset.3.gz
/usr/share/man/man3/afGetFrameCount.3.gz
/usr/share/man/man3/afGetFrameSize.3.gz
/usr/share/man/man3/afGetTrackBytes.3.gz
/usr/share/man/man3/afInitAESChannelData.3.gz
/usr/share/man/man3/afInitAESChannelDataTo.3.gz
/usr/share/man/man3/afInitByteOrder.3.gz
/usr/share/man/man3/afInitChannels.3.gz
/usr/share/man/man3/afInitCompression.3.gz
/usr/share/man/man3/afInitFileFormat.3.gz
/usr/share/man/man3/afInitRate.3.gz
/usr/share/man/man3/afInitSampleFormat.3.gz
/usr/share/man/man3/afNewFileSetup.3.gz
/usr/share/man/man3/afOpenFile.3.gz
/usr/share/man/man3/afQuery.3.gz
/usr/share/man/man3/afQueryDouble.3.gz
/usr/share/man/man3/afQueryLong.3.gz
/usr/share/man/man3/afQueryPointer.3.gz
/usr/share/man/man3/afReadFrames.3.gz
/usr/share/man/man3/afReadMisc.3.gz
/usr/share/man/man3/afSeekFrame.3.gz
/usr/share/man/man3/afSeekMisc.3.gz
/usr/share/man/man3/afSetErrorHandler.3.gz
/usr/share/man/man3/afSetVirtualByteOrder.3.gz
/usr/share/man/man3/afSetVirtualChannels.3.gz
/usr/share/man/man3/afSetVirtualPCMMapping.3.gz
/usr/share/man/man3/afSetVirtualSampleFormat.3.gz
/usr/share/man/man3/afTellFrame.3.gz
/usr/share/man/man3/afWriteFrames.3.gz
/usr/share/man/man3/afWriteMisc.3.gz

References

Summary

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