How To Install librgw2 on Fedora 34

librgw2 is RADOS gateway client library

Introduction

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

What is librgw2

This package provides a library implementation of the RADOS gateway (distributed object store with S3 and Swift personalities).

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

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

sudo dnf -y install librgw2

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

sudo yum -y install librgw2

How To Uninstall librgw2 on Fedora 34

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

sudo dnf remove librgw2

librgw2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/e076ca2a71aceeec98a80964ee4af72af9bb0a
/usr/lib/.build-id/24
/usr/lib/.build-id/24/2df0da6242fce8220d4f85731739cb16175a0c
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/4bcec98d6717faab23c705094b1935cba30a17
/usr/lib64/librgw.so.2
/usr/lib64/librgw.so.2.0.0
/usr/lib64/librgw_op_tp.so.1
/usr/lib64/librgw_op_tp.so.1.0.0
/usr/lib64/librgw_rados_tp.so.1
/usr/lib64/librgw_rados_tp.so.1.0.0
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/6d6694bb2247e97f0e6413cb1b925fff668eec
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/b2c6fc9e9ad7e922923a19bf0a748a0aca396c
/usr/lib/.build-id/f5/13212d8a85c3bf93a686e0bdcd1117de886e1b
/usr/lib64/librgw.so.2
/usr/lib64/librgw.so.2.0.0
/usr/lib64/librgw_op_tp.so.1
/usr/lib64/librgw_op_tp.so.1.0.0
/usr/lib64/librgw_rados_tp.so.1
/usr/lib64/librgw_rados_tp.so.1.0.0

References

Summary

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