How To Install libsndfile-devel on Rocky Linux 8

In this tutorial we learn how to install libsndfile-devel on Rocky Linux 8. libsndfile-devel is Development files for libsndfile

Introduction

In this tutorial we learn how to install libsndfile-devel on Rocky Linux 8.

What is libsndfile-devel

libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. This package contains files needed to develop with libsndfile.

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

Install libsndfile-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsndfile-devel

Install libsndfile-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libsndfile-devel using yum by running the following command:

sudo yum -y install libsndfile-devel

How To Uninstall libsndfile-devel on Rocky Linux 8

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

sudo dnf remove libsndfile-devel

libsndfile-devel Package Contents on Rocky Linux 8

/usr/include/sndfile-32.h
/usr/include/sndfile.h
/usr/include/sndfile.hh
/usr/lib/libsndfile.so
/usr/lib/pkgconfig/sndfile.pc
/usr/share/doc/libsndfile-devel
/usr/share/doc/libsndfile-devel/ChangeLog
/usr/share/doc/libsndfile-devel/__docs
/usr/share/doc/libsndfile-devel/__docs/FAQ.html
/usr/share/doc/libsndfile-devel/__docs/api.html
/usr/share/doc/libsndfile-devel/__docs/bugs.html
/usr/share/doc/libsndfile-devel/__docs/command.html
/usr/share/doc/libsndfile-devel/__docs/embedded_files.html
/usr/share/doc/libsndfile-devel/__docs/index.html
/usr/share/doc/libsndfile-devel/__docs/libsndfile.css
/usr/share/doc/libsndfile-devel/__docs/libsndfile.jpg
/usr/share/doc/libsndfile-devel/__docs/lists.html
/usr/share/doc/libsndfile-devel/__docs/new_file_type.HOWTO
/usr/share/doc/libsndfile-devel/__docs/octave.html
/usr/share/doc/libsndfile-devel/__docs/sndfile_info.html
/usr/share/doc/libsndfile-devel/__docs/tutorial.html
/usr/share/doc/libsndfile-devel/__docs/win32.html
/usr/include/sndfile-64.h
/usr/include/sndfile.h
/usr/include/sndfile.hh
/usr/lib64/libsndfile.so
/usr/lib64/pkgconfig/sndfile.pc
/usr/share/doc/libsndfile-devel
/usr/share/doc/libsndfile-devel/ChangeLog
/usr/share/doc/libsndfile-devel/__docs
/usr/share/doc/libsndfile-devel/__docs/FAQ.html
/usr/share/doc/libsndfile-devel/__docs/api.html
/usr/share/doc/libsndfile-devel/__docs/bugs.html
/usr/share/doc/libsndfile-devel/__docs/command.html
/usr/share/doc/libsndfile-devel/__docs/embedded_files.html
/usr/share/doc/libsndfile-devel/__docs/index.html
/usr/share/doc/libsndfile-devel/__docs/libsndfile.css
/usr/share/doc/libsndfile-devel/__docs/libsndfile.jpg
/usr/share/doc/libsndfile-devel/__docs/lists.html
/usr/share/doc/libsndfile-devel/__docs/new_file_type.HOWTO
/usr/share/doc/libsndfile-devel/__docs/octave.html
/usr/share/doc/libsndfile-devel/__docs/sndfile_info.html
/usr/share/doc/libsndfile-devel/__docs/tutorial.html
/usr/share/doc/libsndfile-devel/__docs/win32.html

References

Summary

In this tutorial we learn how to install libsndfile-devel on Rocky Linux 8 using yum and dnf.