How To Install soxr on Rocky Linux 8

In this tutorial we learn how to install soxr on Rocky Linux 8. soxr is The SoX Resampler library

Introduction

In this tutorial we learn how to install soxr on Rocky Linux 8.

What is soxr

The SoX Resampler library `libsoxr’ performs one-dimensional sample-rate conversion – it may be used, for example, to resample PCM-encoded audio.

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

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

sudo dnf -y install soxr

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

sudo yum -y install soxr

How To Uninstall soxr on Rocky Linux 8

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

sudo dnf remove soxr

soxr Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/61cbc499cbb5d60a8a8843b81d1cd8de5a81bf
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/4009c0665a2ea6ed6b765beb875455a381a0d8
/usr/lib64/libsoxr-lsr.so.0
/usr/lib64/libsoxr-lsr.so.0.1.9
/usr/lib64/libsoxr.so.0
/usr/lib64/libsoxr.so.0.1.2
/usr/share/doc/soxr
/usr/share/doc/soxr/NEWS
/usr/share/doc/soxr/README
/usr/share/licenses/soxr
/usr/share/licenses/soxr/LICENCE

References

Summary

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