How To Install libsamplerate on Fedora 34

libsamplerate is Sample rate conversion library for audio data Sample rate conversion library for audio data

Introduction

In this tutorial we learn how to install libsamplerate on Fedora 34.

What is libsamplerate

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. libsamplerate 0.1.9 8.fc34 x86_64 1.4 M libsamplerate-0.1.9-8.fc34.src.rpm fedora Sample rate conversion library for audio data http BSD 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.

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

Install libsamplerate on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libsamplerate

Install libsamplerate on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libsamplerate

How To Uninstall libsamplerate on Fedora 34

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

sudo dnf remove libsamplerate

libsamplerate Package Contents on Fedora 34

/usr/bin/sndfile-resample
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/7c4f724f469abeb3157f9535bfa5d93eaf1cb2
/usr/lib/.build-id/70
/usr/lib/.build-id/70/6488794a74bbcb3fd381aa8446527da089aa3c
/usr/lib/libsamplerate.so.0
/usr/lib/libsamplerate.so.0.1.8
/usr/share/doc/libsamplerate
/usr/share/doc/libsamplerate/AUTHORS
/usr/share/doc/libsamplerate/COPYING
/usr/share/doc/libsamplerate/ChangeLog
/usr/share/doc/libsamplerate/NEWS
/usr/share/doc/libsamplerate/README
/usr/share/doc/libsamplerate/SRC.css
/usr/share/doc/libsamplerate/SRC.png
/usr/share/doc/libsamplerate/api.html
/usr/share/doc/libsamplerate/api_callback.html
/usr/share/doc/libsamplerate/api_full.html
/usr/share/doc/libsamplerate/api_misc.html
/usr/share/doc/libsamplerate/api_simple.html
/usr/share/doc/libsamplerate/download.html
/usr/share/doc/libsamplerate/faq.html
/usr/share/doc/libsamplerate/history.html
/usr/share/doc/libsamplerate/index.html
/usr/share/doc/libsamplerate/license.html
/usr/share/doc/libsamplerate/lists.html
/usr/share/doc/libsamplerate/quality.html
/usr/share/doc/libsamplerate/win32.html
/usr/bin/sndfile-resample
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/73034ee89e83a5e08a769e0aad27287da21278
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/a6af8d27fcbfbe673e6000fae9e1582974c53a
/usr/lib64/libsamplerate.so.0
/usr/lib64/libsamplerate.so.0.1.8
/usr/share/doc/libsamplerate
/usr/share/doc/libsamplerate/AUTHORS
/usr/share/doc/libsamplerate/COPYING
/usr/share/doc/libsamplerate/ChangeLog
/usr/share/doc/libsamplerate/NEWS
/usr/share/doc/libsamplerate/README
/usr/share/doc/libsamplerate/SRC.css
/usr/share/doc/libsamplerate/SRC.png
/usr/share/doc/libsamplerate/api.html
/usr/share/doc/libsamplerate/api_callback.html
/usr/share/doc/libsamplerate/api_full.html
/usr/share/doc/libsamplerate/api_misc.html
/usr/share/doc/libsamplerate/api_simple.html
/usr/share/doc/libsamplerate/download.html
/usr/share/doc/libsamplerate/faq.html
/usr/share/doc/libsamplerate/history.html
/usr/share/doc/libsamplerate/index.html
/usr/share/doc/libsamplerate/license.html
/usr/share/doc/libsamplerate/lists.html
/usr/share/doc/libsamplerate/quality.html
/usr/share/doc/libsamplerate/win32.html

References

Summary

In this tutorial we learn how to install libsamplerate on Fedora 34 using yum and dnf.