How To Install ceph-common on Ubuntu 20.04

In this tutorial we learn how to install ceph-common on Ubuntu 20.04. ceph-common is common utilities to mount and interact with a ceph storage cluster common utilities to mount and interact with a ceph storage cluster common utilities to mount and interact with a ceph storage cluster

Introduction

In this tutorial we learn how to install ceph-common on Ubuntu 20.04.

What is ceph-common

ceph-common is:

Ceph is a distributed storage and file system designed to provide excellent performance, reliability, and scalability. This is a collection of common tools that allow one to interact with and administer a Ceph cluster.

Package: ceph-common Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: admin 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: 69317 Depends: librbd1 (= 15.2.12-0ubuntu0.20.04.1), python3-ceph-argparse (= 15.2.12-0ubuntu0.20.04.1), python3-ceph-common (= 15.2.12-0ubuntu0.20.04.1), python3-cephfs (= 15.2.12-0ubuntu0.20.04.1), python3-prettytable, python3-rados (= 15.2.12-0ubuntu0.20.04.1), python3-rbd (= 15.2.12-0ubuntu0.20.04.1), python3-requests, python3:any, libaio1 (>= 0.3.93), libbabeltrace1 (>= 1.5.4), libblkid1 (>= 2.17.2), libboost-context1.71.0, libboost-program-options1.71.0, libboost-thread1.71.0, libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), libcephfs2 (>= 12.0.3), libcurl3-gnutls (>= 7.28.0), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libgoogle-perftools4, libkeyutils1 (>= 1.4), libldap-2.4-2 (>= 2.4.7), libleveldb1d, liblz4-1 (>= 0.0~r130), libncurses6 (>= 6), liboath0 (>= 1.10.0), librabbitmq4 (>= 0.6.0), librados2 (>= 15.1.0), libradosstriper1 (>= 0.87), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), libtinfo6 (>= 6), libudev1 (>= 183), zlib1g (>= 1:1.1.4) Suggests: ceph, ceph-mds Conflicts: ceph-client-tools Breaks: ceph (« 9.2.0-0~), ceph-base (« 12.2.10+dfsg1-1~), ceph-fs-common (« 12.2.10+dfsg1-1~), ceph-mds (« 14.2.5-3~), ceph-test (« 9.2.0-0~), librbd1 (« 0.94.1-1~), python-ceph (« 0.94.1-1~), radosgw (« 12.0.3-0~) Replaces: ceph (« 9.2.0-0~), ceph-client-tools, ceph-fs-common (« 12.2.8+dfsg1-1~), ceph-mds (« 14.2.5-3~), ceph-test (« 9.2.0-1~), librbd1 (« 0.94.1-1~), python-ceph (« 0.94.1-1~), radosgw (« 12.0.3-0~) Filename: pool/main/c/ceph/ceph-common_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 18361760 MD5sum: 817221b7d0f6261f6ded68c1459f9576 SHA1: 2d4681fe8eef835d2f975b263f35e78987ff0bfb SHA256: 8017278ff31424f85081c533228be3883cb42c51b405b413ad252d86e12d834a SHA512: de8df679d4085b5ee344836eda21527d1b8a64b02899dc62cb982a1f4862a921867ee4c01285c3c08e1539faf7cf7db3f0e72cdab68ed0bfe4db64234c4750cb Homepage: http://ceph.com/ Description-en: common utilities to mount and interact with a ceph storage cluster Ceph is a distributed storage and file system designed to provide excellent performance, reliability, and scalability. This is a collection of common tools that allow one to interact with and administer a Ceph cluster.

Package: ceph-common Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: admin 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: 77409 Depends: librbd1 (= 15.2.1-0ubuntu1), python3-ceph-argparse (= 15.2.1-0ubuntu1), python3-ceph-common (= 15.2.1-0ubuntu1), python3-cephfs (= 15.2.1-0ubuntu1), python3-prettytable, python3-rados (= 15.2.1-0ubuntu1), python3-rbd (= 15.2.1-0ubuntu1), python3-requests, python3:any, libaio1 (>= 0.3.93), libbabeltrace1 (>= 1.5.4), libblkid1 (>= 2.17.2), libboost-context1.71.0, libboost-program-options1.71.0, libboost-thread1.71.0, libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), libcephfs2 (>= 12.0.3), libcurl3-gnutls (>= 7.28.0), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libgoogle-perftools4, libkeyutils1 (>= 1.4), libldap-2.4-2 (>= 2.4.7), libleveldb1d, liblz4-1 (>= 0.0~r130), libncurses6 (>= 6), liboath0 (>= 1.10.0), librabbitmq4 (>= 0.6.0), librados2 (>= 15.1.0), libradosstriper1 (>= 0.87), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), libtinfo6 (>= 6), libudev1 (>= 183), zlib1g (>= 1:1.1.4) Suggests: ceph, ceph-mds Conflicts: ceph-client-tools Breaks: ceph (« 9.2.0-0~), ceph-base (« 12.2.10+dfsg1-1~), ceph-fs-common (« 12.2.10+dfsg1-1~), ceph-mds (« 14.2.5-3~), ceph-test (« 9.2.0-0~), librbd1 (« 0.94.1-1~), python-ceph (« 0.94.1-1~), radosgw (« 12.0.3-0~) Replaces: ceph (« 9.2.0-0~), ceph-client-tools, ceph-fs-common (« 12.2.8+dfsg1-1~), ceph-mds (« 14.2.5-3~), ceph-test (« 9.2.0-1~), librbd1 (« 0.94.1-1~), python-ceph (« 0.94.1-1~), radosgw (« 12.0.3-0~) Filename: pool/main/c/ceph/ceph-common_15.2.1-0ubuntu1_amd64.deb Size: 19573668 MD5sum: 722486dfc1b3f168aa049988ab677745 SHA1: 6baf74d04b313e6d9393cb80dcdc75c8e8c3cc9e SHA256: 0f2100d7d8c96f5cc487e4e1e0cbd788c89ad5a101355abc8477ac3b18a7e2e0 Homepage: http://ceph.com/ Description-en: common utilities to mount and interact with a ceph storage cluster Ceph is a distributed storage and file system designed to provide excellent performance, reliability, and scalability. This is a collection of common tools that allow one to interact with and administer a Ceph cluster.

There are three methods to install ceph-common 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 ceph-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ceph-common

Install ceph-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ceph-common

Install ceph-common 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 ceph-common using aptitude by running the following command:

sudo aptitude -y install ceph-common

How To Uninstall ceph-common on Ubuntu 20.04

To uninstall only the ceph-common package we can use the following command:

sudo apt-get remove ceph-common

Uninstall ceph-common And Its Dependencies

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

sudo apt-get -y autoremove ceph-common

Remove ceph-common Configurations and Data

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

sudo apt-get -y purge ceph-common

Remove ceph-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ceph-common

References

Summary

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