From: Moritz Röhrich Date: Fri, 1 Apr 2022 08:36:53 +0000 (+0200) Subject: docs: update install steps for python librados X-Git-Tag: v18.0.0~1123^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F45743%2Fhead;p=ceph.git docs: update install steps for python librados - 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 --- diff --git a/doc/rados/api/librados-intro.rst b/doc/rados/api/librados-intro.rst index 01ed49b92dd..332331f878c 100644 --- a/doc/rados/api/librados-intro.rst +++ b/doc/rados/api/librados-intro.rst @@ -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.