How To Install python3-rgw on Ubuntu 20.04

In this tutorial we learn how to install python3-rgw on Ubuntu 20.04. python3-rgw is Python 3 libraries for the Ceph librgw library Python 3 libraries for the Ceph librgw library Python 3 libraries for the Ceph librgw library

Introduction

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

What is python3-rgw

python3-rgw 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 contains Python 3 libraries for interacting with Ceph’s RGW library.

Package: python3-rgw Architecture: amd64 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: 396 Depends: librgw2 (>= 15.2.12-0ubuntu0.20.04.1), python3-rados (= 15.2.12-0ubuntu0.20.04.1), python3 (« 3.9), python3 (>= 3.8~), libc6 (>= 2.14) Filename: pool/universe/c/ceph/python3-rgw_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 124680 MD5sum: 7b1968ff58a20e6ab30a2ffc502c8bf1 SHA1: 9ec1db8367e20db9d3e530f72c51ff44d5cd05f8 SHA256: c40dbad8037d38f92df53de9fc4296818fd8fefc89160b3be7ad9f2229341b70 SHA512: c91b1f28f32c74d3746de91bccf8cd11889cab74aedf75d49c2c18b33011c601a53311a0ce4c3aed3911c50c7896946467406c4960d8b7d85f3d0f5ebd66d21e Homepage: http://ceph.com/ Description-en: Python 3 libraries for the Ceph librgw library 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 contains Python 3 libraries for interacting with Ceph’s RGW library.

Package: python3-rgw Architecture: amd64 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: 395 Depends: librgw2 (>= 15.2.1-0ubuntu1), python3-rados (= 15.2.1-0ubuntu1), python3 (« 3.9), python3 (>= 3.8~), libc6 (>= 2.14) Filename: pool/universe/c/ceph/python3-rgw_15.2.1-0ubuntu1_amd64.deb Size: 124632 MD5sum: 40b8eddd641426eb7471537cd247e7aa SHA1: 8cabc4684f3e9fa0d6632e62f28dd0715dcfa6ff SHA256: 0727a5ee7174805ea285aef22961c41ae343fd128a4b131ad9f4afbd887f0507 Homepage: http://ceph.com/ Description-en: Python 3 libraries for the Ceph librgw library 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 contains Python 3 libraries for interacting with Ceph’s RGW library.

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

sudo apt-get -y install python3-rgw

Install python3-rgw Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-rgw

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

sudo aptitude -y install python3-rgw

How To Uninstall python3-rgw on Ubuntu 20.04

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

sudo apt-get remove python3-rgw

Uninstall python3-rgw And Its Dependencies

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

sudo apt-get -y autoremove python3-rgw

Remove python3-rgw Configurations and Data

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

sudo apt-get -y purge python3-rgw

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

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

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

References

Summary

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