From dad15f2dfd43c21475fde6b575815d96ffaf8f47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Moritz=20R=C3=B6hrich?= Date: Fri, 1 Apr 2022 10:36:53 +0200 Subject: [PATCH] docs: update install steps for python librados MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit - 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 --- doc/rados/api/librados-intro.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/rados/api/librados-intro.rst b/doc/rados/api/librados-intro.rst index 01ed49b92dd12..332331f878c7f 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. -- 2.47.3