How To Install libsamplerate on Fedora 36

In this tutorial we learn how to install libsamplerate in Fedora 36. libsamplerate is Sample rate conversion library for audio data

Introduction

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

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.

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

Install libsamplerate on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsamplerate

Install libsamplerate on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh
---
title: "How To Install libsamplerate on Fedora 36"
linkTitle: "libsamplerate"
type: "docs"
description: "In this tutorial we learn how to install libsamplerate in Fedora 36. libsamplerate is Sample rate conversion library for audio data"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libsamplerate-featured.png
---

## Introduction

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

### 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.  

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

## Install libsamplerate on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh
After updating yum database, We can install `libsamplerate` using `dnf` by running the following command:


```bash
sudo dnf -y install libsamplerate
After updating yum database, We can install `libsamplerate` using `yum` by running the following command:
sudo yum -y install libsamplerate
## Install libsamplerate on Fedora 36 Using yum

How To Uninstall libsamplerate on Fedora 36

Update yum database with yum using the following command.

To uninstall only the `libsamplerate` package we can use the following command:
sudo yum makecache --refresh

sudo dnf remove libsamplerate
After updating yum database, We can install `libsamplerate` using `yum` by running the following command:
sudo yum -y install libsamplerate
## libsamplerate Package Contents on Fedora 36

How To Uninstall libsamplerate on Fedora 36


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

```bash
sudo dnf remove libsamplerate

libsamplerate Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/f82655dde98289d85c199a5a77488eb74f8c82
/usr/lib64/libsamplerate.so.0
/usr/lib64/libsamplerate.so.0.2.2
/usr/share/doc/libsamplerate
/usr/share/doc/libsamplerate/AUTHORS
/usr/share/doc/libsamplerate/README.md
/usr/share/licenses/libsamplerate
/usr/share/licenses/libsamplerate/COPYING

References

Summary

In this tutorial we learn how to install libsamplerate on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/3e /usr/lib/.build-id/3e/9b6f2407deb314af89ecb4efa2f8960b6497f8 /usr/lib/libsamplerate.so.0 /usr/lib/libsamplerate.so.0.2.2 /usr/share/doc/libsamplerate /usr/share/doc/libsamplerate/AUTHORS /usr/share/doc/libsamplerate/README.md /usr/share/licenses/libsamplerate /usr/share/licenses/libsamplerate/COPYING


## References

* [libsamplerate website](https://libsndfile.github.io/libsamplerate/)

## Summary

In this tutorial we learn how to install `libsamplerate` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).