How To Install radosgw on Ubuntu 20.04

In this tutorial we learn how to install radosgw on Ubuntu 20.04. radosgw is REST gateway for RADOS distributed object store REST gateway for RADOS distributed object store REST gateway for RADOS distributed object store

Introduction

In this tutorial we learn how to install radosgw on Ubuntu 20.04.

What is radosgw

radosgw is:

RADOS is a distributed object store used by the Ceph distributed storage system. This package provides a REST gateway to the object store that aims to implement a superset of Amazon’s S3 service as well as the OpenStack Object Storage (“Swift”) API.

This package contains the proxy daemon and related tools only.

Package: radosgw 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: 34654 Depends: ceph-common (= 15.2.12-0ubuntu0.20.04.1), librgw2 (= 15.2.12-0ubuntu0.20.04.1), libboost-context1.71.0, libc6 (>= 2.29), libcurl3-gnutls (>= 7.28.0), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libgoogle-perftools4, libldap-2.4-2 (>= 2.4.7), librabbitmq4 (>= 0.6.0), librados2 (>= 14.2.0), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9) Suggests: logrotate Filename: pool/main/c/ceph/radosgw_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 9419284 MD5sum: d9464899e6840793a55c88d832328df4 SHA1: 03c36e7bd2fc521ad0438cc6ae145e1c8f2a0c05 SHA256: 2773512f8196b858bbb82a5563ac551afd465ddeca33f37041e2d20fa2869941 SHA512: cb79ffb3a2d1085f8f813e852cdc1f0f26cda89d70ef994765ce15ad731dc6b5554d217ce490afa770ca51ffc636cbef38dc790756aa985e0349e6c72f818601 Homepage: http://ceph.com/ Description-en: REST gateway for RADOS distributed object store RADOS is a distributed object store used by the Ceph distributed storage system. This package provides a REST gateway to the object store that aims to implement a superset of Amazon’s S3 service as well as the OpenStack Object Storage (“Swift”) API.

This package contains the proxy daemon and related tools only.

Package: radosgw 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: 33803 Depends: ceph-common (= 15.2.1-0ubuntu1), librgw2 (= 15.2.1-0ubuntu1), libboost-context1.71.0, libc6 (>= 2.29), libcurl3-gnutls (>= 7.28.0), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libgoogle-perftools4, libldap-2.4-2 (>= 2.4.7), librabbitmq4 (>= 0.6.0), librados2 (>= 14.2.0), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9) Suggests: logrotate Filename: pool/main/c/ceph/radosgw_15.2.1-0ubuntu1_amd64.deb Size: 9191372 MD5sum: ba85388f16c7e43ed986119acb3f228e SHA1: 55b3e6383e25eaefe8ac8abd321a4b7939782580 SHA256: d377c597b88033a0d232a7a4f0bd9fb0aeaf8f97b2b6ac399afdb425ffb1674f Homepage: http://ceph.com/ Description-en: REST gateway for RADOS distributed object store RADOS is a distributed object store used by the Ceph distributed storage system. This package provides a REST gateway to the object store that aims to implement a superset of Amazon’s S3 service as well as the OpenStack Object Storage (“Swift”) API.

This package contains the proxy daemon and related tools only.

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

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

sudo apt-get update

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

sudo apt-get -y install radosgw

Install radosgw Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install radosgw using apt by running the following command:

sudo apt -y install radosgw

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

sudo aptitude -y install radosgw

How To Uninstall radosgw on Ubuntu 20.04

To uninstall only the radosgw package we can use the following command:

sudo apt-get remove radosgw

Uninstall radosgw And Its Dependencies

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

sudo apt-get -y autoremove radosgw

Remove radosgw Configurations and Data

To remove radosgw configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge radosgw

Remove radosgw configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge radosgw

References

Summary

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