Install librgw-dev by entering the following commands in the terminal:
sudo apt update sudo apt install librgw-dev
RADOS client library (development files)
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. . This package contains development files needed for building applications that link against librgw2.