How To Install ceph-base on Ubuntu 20.04

In this tutorial we learn how to install ceph-base on Ubuntu 20.04. ceph-base is common ceph daemon libraries and management tools common ceph daemon libraries and management tools common ceph daemon libraries and management tools

Introduction

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

What is ceph-base

ceph-base is:

Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.

This package contains the libraries and management tools that are common among the Ceph server daemons (ceph-mon, ceph-mgr, ceph-osd, ceph-mds). These tools are necessary for creating, running, and administering a Ceph storage cluster.

Package: ceph-base 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: 20982 Depends: binutils, ceph-common (= 15.2.12-0ubuntu0.20.04.1), cryptsetup-bin | cryptsetup, gdisk, hdparm | sdparm, parted, uuid-runtime, xfsprogs, python3:any, libaio1 (>= 0.3.93), libc6 (>= 2.29), libgcc-s1 (>= 3.4), libgoogle-perftools4, libleveldb1d, liblz4-1 (>= 0.0~r130), librados2 (>= 12.1.4), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), zlib1g (>= 1:1.1.4) Recommends: ceph-mds (= 15.2.12-0ubuntu0.20.04.1), chrony | time-daemon | ntp, librados2 (= 15.2.12-0ubuntu0.20.04.1), librbd1 (= 15.2.12-0ubuntu0.20.04.1) Suggests: btrfs-tools, logrotate Breaks: ceph (« 10.2.2-0ubuntu2~), ceph-common (« 9.2.0-0~), ceph-test (« 12.2.8+dfsg1-1~), python-ceph (« 0.94.1-1~) Replaces: ceph (« 12.2.8+dfsg1-1~), ceph-common (« 9.2.0-0~), ceph-test (« 12.2.8+dfsg1-1~), python-ceph (« 0.94.1-1~) Filename: pool/main/c/ceph/ceph-base_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 4135380 MD5sum: ca0976e86b3554f64c63aa08a05c2b36 SHA1: e2459996920c723543e2017ef563a42924b3af11 SHA256: 955628bc3b58cc49bb57098298b1bbbb1412341017fc9bf0b26efe8a8401eb6b SHA512: 4417fd1e8e977dd5134eddbd1573981684a890906b94727ebfdc1c783768e3caaec22a339dd844c14746807c845793f8c975ac89dce6680b24b7b2778fe1bab0 Homepage: http://ceph.com/ Description-en: common ceph daemon libraries and management tools Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.

This package contains the libraries and management tools that are common among the Ceph server daemons (ceph-mon, ceph-mgr, ceph-osd, ceph-mds). These tools are necessary for creating, running, and administering a Ceph storage cluster.

Package: ceph-base 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: 29290 Depends: binutils, ceph-common (= 15.2.1-0ubuntu1), cryptsetup-bin | cryptsetup, gdisk, hdparm | sdparm, parted, uuid-runtime, xfsprogs, python3:any, libaio1 (>= 0.3.93), libc6 (>= 2.29), libgcc-s1 (>= 3.4), libgoogle-perftools4, libleveldb1d, liblz4-1 (>= 0.0~r130), librados2 (>= 12.1.4), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), zlib1g (>= 1:1.1.4) Recommends: ceph-mds (= 15.2.1-0ubuntu1), chrony | time-daemon | ntp, librados2 (= 15.2.1-0ubuntu1), librbd1 (= 15.2.1-0ubuntu1) Suggests: btrfs-tools, logrotate Breaks: ceph (« 10.2.2-0ubuntu2~), ceph-common (« 9.2.0-0~), ceph-test (« 12.2.8+dfsg1-1~), python-ceph (« 0.94.1-1~) Replaces: ceph (« 12.2.8+dfsg1-1~), ceph-common (« 9.2.0-0~), ceph-test (« 12.2.8+dfsg1-1~), python-ceph (« 0.94.1-1~) Filename: pool/main/c/ceph/ceph-base_15.2.1-0ubuntu1_amd64.deb Size: 5239076 MD5sum: a645be28eb53d6b5dfc868420ee47ef6 SHA1: ba2a488b4d45d73ddd49e58465a3aa2447093f8b SHA256: ae44c805e85d35a3c4e74d26f62ab9db9d693ccbfed489ee0895d294bcd1161e Homepage: http://ceph.com/ Description-en: common ceph daemon libraries and management tools Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.

This package contains the libraries and management tools that are common among the Ceph server daemons (ceph-mon, ceph-mgr, ceph-osd, ceph-mds). These tools are necessary for creating, running, and administering a Ceph storage cluster.

There are three methods to install ceph-base 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-base 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-base using apt-get by running the following command:

sudo apt-get -y install ceph-base

Install ceph-base Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ceph-base

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

sudo aptitude -y install ceph-base

How To Uninstall ceph-base on Ubuntu 20.04

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

sudo apt-get remove ceph-base

Uninstall ceph-base And Its Dependencies

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

sudo apt-get -y autoremove ceph-base

Remove ceph-base Configurations and Data

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

sudo apt-get -y purge ceph-base

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

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

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

References

Summary

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