]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
docs: update install steps for python librados 45743/head
authorMoritz Röhrich <moritz.rohrich@suse.com>
Fri, 1 Apr 2022 08:36:53 +0000 (10:36 +0200)
committerMoritz Röhrich <moritz.rohrich@suse.com>
Fri, 1 Apr 2022 08:49:20 +0000 (10:49 +0200)
- Put the correct package names for python librados in the install
  instructions.
- librados-devel does not actually pull in python3-librados as
  dependency anymore, remove mention of this.
- Add instructions for openSUSE/SLE

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
doc/rados/api/librados-intro.rst

index 01ed49b92dd123e99caf35bd99757aadf1a77e6c..332331f878c7f3f4c8ba6519aba9cdf8d9ce2183 100644 (file)
@@ -62,21 +62,24 @@ Getting librados for Python
 ---------------------------
 
 The ``rados`` module provides ``librados`` support to Python
-applications. The ``librados-dev`` package for Debian/Ubuntu
-and the ``librados2-devel`` package for RHEL/CentOS will install the
-``python-rados`` package for you. You may install ``python-rados``
-directly too.
+applications. You may install ``python3-rados`` for Debian, Ubuntu, SLE or
+openSUSE or the ``python-rados`` package for CentOS/RHEL.
 
 To install ``librados`` development support files for Python on Debian/Ubuntu
 distributions, execute the following::
 
-       sudo apt-get install python-rados
+       sudo apt-get install python3-rados
 
 To install ``librados`` development support files for Python on RHEL/CentOS
 distributions, execute the following::
 
        sudo yum install python-rados
 
+To install ``librados`` development support files for Python on SLE/openSUSE
+distributions, execute the following::
+
+       sudo zypper install python3-rados
+
 You can find the module under ``/usr/share/pyshared`` on Debian systems,
 or under ``/usr/lib/python*/site-packages`` on CentOS/RHEL systems.