How To Install librados2-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install librados2-devel.x86_64 in Amazon Linux 2. librados2-devel.x86_64 is RADOS headers

Introduction

In this tutorial we learn how to install librados2-devel.x86_64 on Amazon Linux 2.

What is librados2-devel.x86_64

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

We can use yum to install librados2-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install librados2-devel.x86_64.

Install librados2-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install librados2-devel.x86_64 using yum by running the following command:

sudo yum -y install librados2-devel.x86_64

How To Uninstall librados2-devel.x86_64 on Amazon Linux 2

To uninstall only the librados2-devel.x86_64 package we can use the following command:

sudo yum remove librados2-devel.x86_64

librados2-devel.x86_64 Package Contents on Amazon Linux 2

/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/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/lib64/librados.so
/usr/share/man/man8/librados-config.8.gz

References

Summary

In this tutorial we learn how to install librados2-devel.x86_64 on Amazon Linux 2 using yum.