How To Install librbd1 on Fedora 36

In this tutorial we learn how to install librbd1 in Fedora 36. librbd1 is RADOS block device client library

Introduction

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

What is librbd1

RBD is a block device striped across multiple distributed objects in RADOS, a reliable, autonomic distributed object storage cluster developed as part of the Ceph distributed storage system. This is a shared library allowing applications to manage these block devices.

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

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

sudo dnf -y install librbd1

Install librbd1 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install librbd1

How To Uninstall librbd1 on Fedora 36

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

sudo dnf remove librbd1

librbd1 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/43f399b4595126de30e3beec8d9150850336b7
/usr/lib/.build-id/49
/usr/lib/.build-id/49/393292b9e5108bd176686b8c991aaefcb59b23
/usr/lib/.build-id/70
/usr/lib/.build-id/70/d0843f6f392092d22cf36acee901bc8ef5ea19
/usr/lib/.build-id/73
/usr/lib/.build-id/73/774602812773652e8f9768b3fcc0a10f0bb462
/usr/lib64/ceph/librbd
/usr/lib64/ceph/librbd/libceph_librbd_parent_cache.so
/usr/lib64/ceph/librbd/libceph_librbd_parent_cache.so.1
/usr/lib64/ceph/librbd/libceph_librbd_parent_cache.so.1.0.0
/usr/lib64/ceph/librbd/libceph_librbd_pwl_cache.so
/usr/lib64/ceph/librbd/libceph_librbd_pwl_cache.so.1
/usr/lib64/ceph/librbd/libceph_librbd_pwl_cache.so.1.0.0
/usr/lib64/librbd.so.1
/usr/lib64/librbd.so.1.16.0
/usr/lib64/librbd_tp.so.1
/usr/lib64/librbd_tp.so.1.0.0

References

Summary

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