librados-config command not found

In this troubleshooting guide we learn how to fix librados-config command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

librados-config: command not found

or when using sudo you get the following error message

sudo: librados-config: command not found

Solutions to librados-config: command not found

How To Fix librados-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu librados-config is provided by librados-dev package.

librados-dev is:

RADOS is a reliable, autonomic distributed object storage cluster developed as part of the Ceph distributed storage system. This is a shared library allowing applications to access the distributed object store using a simple file-like interface.

This package contains development files needed for building applications that link against librados2.

To fix this problem, we can install more using the command below.

sudo apt-get -y install librados-dev

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install librados-dev.

sudo apt -y install librados-dev

Or if you have aptitude installed you can use the following command.

sudo aptitude install librados-dev

Summary

In this tutorial we learn how to fix librados-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.