How To Install librados-devel on Rocky Linux 8

In this tutorial we learn how to install librados-devel on Rocky Linux 8. librados-devel is RADOS headers

Introduction

In this tutorial we learn how to install librados-devel on Rocky Linux 8.

What is librados-devel

This package contains libraries and headers needed to develop programs that use RADOS object store.

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

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

sudo dnf -y install librados-devel

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

sudo yum -y install librados-devel

How To Uninstall librados-devel on Rocky Linux 8

To uninstall only the librados-devel package we can use the following command:

sudo dnf remove librados-devel

librados-devel Package Contents on Rocky Linux 8

/usr/bin/librados-config
/usr/include/rados
/usr/include/rados/buffer.h
/usr/include/rados/buffer_fwd.h
/usr/include/rados/crc32c.h
/usr/include/rados/inline_memory.h
/usr/include/rados/librados.h
/usr/include/rados/librados.hpp
/usr/include/rados/memory.h
/usr/include/rados/page.h
/usr/include/rados/rados_types.h
/usr/include/rados/rados_types.hpp
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/179c7b0510a5f7ea4cea5bc64440f5ac714279
/usr/lib64/librados.so
/usr/share/man/man8/librados-config.8.gz
/usr/bin/librados-config
/usr/include/rados
/usr/include/rados/buffer.h
/usr/include/rados/buffer_fwd.h
/usr/include/rados/crc32c.h
/usr/include/rados/inline_memory.h
/usr/include/rados/librados.h
/usr/include/rados/librados.hpp
/usr/include/rados/memory.h
/usr/include/rados/page.h
/usr/include/rados/rados_types.h
/usr/include/rados/rados_types.hpp
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/1c319b8843eb17c3044974117ec0a55613a06a
/usr/lib/librados.so
/usr/share/man/man8/librados-config.8.gz

References

Summary

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