How To Install librgw2 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install librgw2
on Ubuntu 20.04.
What is librgw2
librgw2 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.
This package contains the library interface and headers only.
Package: librgw2 Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: libs 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: 10978 Depends: librados2 (= 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), libldap-2.4-2 (>= 2.4.7), librabbitmq4 (>= 0.6.0), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9) Filename: pool/main/c/ceph/librgw2_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 3097184 MD5sum: 578444b8955b32c54cdd95b40f9a7505 SHA1: 98d6ea41a94ea72ce67fb8e5db140540f62ce50e SHA256: b3010d9f0b9503acbca4067b40a4ff217d21d6f8750d1d047f81f545a067a2a3 SHA512: afadc93d120cdf8a4583f4bd2bbd394d4dea510f26d400027a1d2e31730537aaf7e364f37c01d8b41f061423302019ef21f540f7e16867c05fdca337bbd99347 Homepage: http://ceph.com/ Description-en: RADOS Gateway client library 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 the library interface and headers only.
Package: librgw2 Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: libs 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: 21390 Depends: librados2 (= 15.2.1-0ubuntu1), libboost-context1.71.0, libc6 (>= 2.29), libcurl3-gnutls (>= 7.28.0), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libldap-2.4-2 (>= 2.4.7), librabbitmq4 (>= 0.6.0), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9) Filename: pool/main/c/ceph/librgw2_15.2.1-0ubuntu1_amd64.deb Size: 5790800 MD5sum: 0ee70671b5f546d3bf35156e1e93f826 SHA1: 93ba0d45e68eb2c782390907dbf3813217cec45e SHA256: 704c994e97ab2d341c6ca5f9a10bbe2546418470c845e835ae820c65bda14cf3 Homepage: http://ceph.com/ Description-en: RADOS Gateway client library 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 the library interface and headers only.
There are three methods to install librgw2
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 librgw2 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install librgw2
using apt-get
by running the following command:
sudo apt-get -y install librgw2
Install librgw2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install librgw2
using apt
by running the following command:
sudo apt -y install librgw2
Install librgw2 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 librgw2
using aptitude
by running the following command:
sudo aptitude -y install librgw2
How To Uninstall librgw2 on Ubuntu 20.04
To uninstall only the librgw2
package we can use the following command:
sudo apt-get remove librgw2
Uninstall librgw2 And Its Dependencies
To uninstall librgw2
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove librgw2
Remove librgw2 Configurations and Data
To remove librgw2
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge librgw2
Remove librgw2 configuration, data, and all of its dependencies
We can use the following command to remove librgw2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge librgw2
References
Summary
In this tutorial we learn how to install librgw2
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.