How To Install libsamplerate-devel on Rocky Linux 8

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

Introduction

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

What is libsamplerate-devel

Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. It can downsample by a factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. The conversion ratio can also vary with time for speeding up and slowing down effects. This package contains development files for libsamplerate

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

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

sudo dnf -y install libsamplerate-devel

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

sudo yum -y install libsamplerate-devel

How To Uninstall libsamplerate-devel on Rocky Linux 8

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

sudo dnf remove libsamplerate-devel

libsamplerate-devel Package Contents on Rocky Linux 8

/usr/include/samplerate.h
/usr/lib/libsamplerate.so
/usr/lib/pkgconfig/samplerate.pc
/usr/include/samplerate.h
/usr/lib64/libsamplerate.so
/usr/lib64/pkgconfig/samplerate.pc

References

Summary

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