How To Install python3-ceph on Ubuntu 20.04

In this tutorial we learn how to install python3-ceph on Ubuntu 20.04. python3-ceph is Meta-package for all Python 3.x modules for the Ceph libraries Meta-package for all Python 3.x modules for the Ceph libraries Meta-package for all Python 3.x modules for the Ceph libraries

Introduction

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

What is python3-ceph

python3-ceph is:

Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package is a metapackage for all Ceph Python 3.x bindings.

Package: python3-ceph Architecture: all Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: universe/python 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: 80 Depends: python3-cephfs (« 15.2.12-0ubuntu0.20.04.1.1~), python3-cephfs (>= 15.2.12-0ubuntu0.20.04.1), python3-rados (« 15.2.12-0ubuntu0.20.04.1.1~), python3-rados (>= 15.2.12-0ubuntu0.20.04.1), python3-rbd (« 15.2.12-0ubuntu0.20.04.1.1~), python3-rbd (>= 15.2.12-0ubuntu0.20.04.1), python3-rgw (« 15.2.12-0ubuntu0.20.04.1.1~), python3-rgw (>= 15.2.12-0ubuntu0.20.04.1) Filename: pool/universe/c/ceph/python3-ceph_15.2.12-0ubuntu0.20.04.1_all.deb Size: 13772 MD5sum: 37a081dfbbe0740f4ddefcf982e368ff SHA1: 39aa60796efdde3488de677ffb326b58b09d63e3 SHA256: 32afc6fd7ceca545ca4ea9297e7cd5af6397e234ba222a2a94da076e882b3204 SHA512: e309ab94abf145640d4932926915b1a4f95491415ed374933c104cd9eb842d633a8a26ab402561f354ebfb635c5cc25abbcb79e490f3aea687b8ea230045dbd0 Homepage: http://ceph.com/ Description-en: Meta-package for all Python 3.x modules for the Ceph libraries Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package is a metapackage for all Ceph Python 3.x bindings.

Package: python3-ceph Architecture: all Version: 15.2.1-0ubuntu1 Priority: optional Section: universe/python 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: 79 Depends: python3-cephfs (« 15.2.1-0ubuntu1.1~), python3-cephfs (>= 15.2.1-0ubuntu1), python3-rados (« 15.2.1-0ubuntu1.1~), python3-rados (>= 15.2.1-0ubuntu1), python3-rbd (« 15.2.1-0ubuntu1.1~), python3-rbd (>= 15.2.1-0ubuntu1), python3-rgw (« 15.2.1-0ubuntu1.1~), python3-rgw (>= 15.2.1-0ubuntu1) Filename: pool/universe/c/ceph/python3-ceph_15.2.1-0ubuntu1_all.deb Size: 13780 MD5sum: 6886588660da74077b555f0955f3218a SHA1: 946a21360ca01289dd4a1eff0bb654c3f777fbea SHA256: 525c290baa7e117b141c5a08991ab931e588718b4120a47a2749e9695e0ff0e2 Homepage: http://ceph.com/ Description-en: Meta-package for all Python 3.x modules for the Ceph libraries Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package is a metapackage for all Ceph Python 3.x bindings.

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

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

sudo apt-get update

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

sudo apt-get -y install python3-ceph

Install python3-ceph Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ceph

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

sudo aptitude -y install python3-ceph

How To Uninstall python3-ceph on Ubuntu 20.04

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

sudo apt-get remove python3-ceph

Uninstall python3-ceph And Its Dependencies

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

sudo apt-get -y autoremove python3-ceph

Remove python3-ceph Configurations and Data

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

sudo apt-get -y purge python3-ceph

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

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

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

References

Summary

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