rgw-gap-list-comparator command not found

In this troubleshooting guide we learn how to fix rgw-gap-list-comparator command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rgw-gap-list-comparator: command not found

or when using sudo you get the following error message

sudo: rgw-gap-list-comparator: command not found

Solutions to rgw-gap-list-comparator: command not found

How To Fix rgw-gap-list-comparator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rgw-gap-list-comparator is provided by radosgw package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install radosgw

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install radosgw.

sudo apt -y install radosgw

Or if you have aptitude installed you can use the following command.

sudo aptitude install radosgw

Summary

In this tutorial we learn how to fix rgw-gap-list-comparator command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.