How To Install librados-dev on Ubuntu 20.04

In this tutorial we learn how to install librados-dev on Ubuntu 20.04. librados-dev is RADOS distributed object store client library (development files) RADOS distributed object store client library (development files) RADOS distributed object store client library (development files)

Introduction

In this tutorial we learn how to install librados-dev on Ubuntu 20.04.

What is librados-dev

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.

Package: librados-dev Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: libdevel Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 262 Depends: librados2 (= 15.2.12-0ubuntu0.20.04.1), libboost-program-options1.71.0, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2) Conflicts: librados1-dev, librados2-dev Replaces: librados1-dev, librados2-dev Filename: pool/main/c/ceph/librados-dev_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 45076 MD5sum: 7199eaa0120e053f683e346c7283d6f1 SHA1: aa70a79d1f718784323864aeb28b9d9ddc327b22 SHA256: d12158c2a478f52d74fd0da4f8cabf9c3b72fee9b15110291f7b57114d5fffc9 SHA512: 9e8a4b751d1f3e72bff3230dcd1e044979c696af7aa7a7e2562d5f44394956585210231b33fcbc48f434a4d1ee30f5f688f9d81141c352bafb82be914d8a40ed Homepage: http://ceph.com/ Description-en: RADOS distributed object store client library (development files) 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.

Package: librados-dev Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: libdevel Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 261 Depends: librados2 (= 15.2.1-0ubuntu1), libboost-program-options1.71.0, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2) Conflicts: librados1-dev, librados2-dev Replaces: librados1-dev, librados2-dev Filename: pool/main/c/ceph/librados-dev_15.2.1-0ubuntu1_amd64.deb Size: 45056 MD5sum: b3c2f3743a79f9b2968c5b3a7699948a SHA1: d92adb1058e1a0a393ff756e2c55fc011ef85c93 SHA256: 4baf9c820e8bb9005498e22067d7da6d5f0f277a5785e45321f6808d312a51da Homepage: http://ceph.com/ Description-en: RADOS distributed object store client library (development files) 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.

There are three methods to install librados-dev on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install librados-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install librados-dev using apt-get by running the following command:

sudo apt-get -y install librados-dev

Install librados-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librados-dev using apt by running the following command:

sudo apt -y install librados-dev

Install librados-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install librados-dev using aptitude by running the following command:

sudo aptitude -y install librados-dev

How To Uninstall librados-dev on Ubuntu 20.04

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

sudo apt-get remove librados-dev

Uninstall librados-dev And Its Dependencies

To uninstall librados-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove librados-dev

Remove librados-dev Configurations and Data

To remove librados-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge librados-dev

Remove librados-dev configuration, data, and all of its dependencies

We can use the following command to remove librados-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librados-dev

References

Summary

In this tutorial we learn how to install librados-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.