@@ -6,11 +6,12 @@ Installation
66ClusterShell is distributed in several packages. On RedHat-like OS, we
77recommend to use the RPM package (.rpm) distribution.
88
9- As a system software for cluster, ClusterShell is primarily made for
9+ As system software for cluster, ClusterShell is primarily made for
1010system-wide installation to be used by system administrators. However,
11- changes have been made so that it's now easy to install it without
11+ changes have been made so that it's now possible to install it without
1212root access (see :ref: `install-pip-user `).
1313
14+ .. _install-requirements :
1415
1516Requirements
1617------------
@@ -26,9 +27,10 @@ For instance, ClusterShell is known to work on the following operating systems:
2627
2728* GNU/Linux RHEL or CentOS 6 (Python 2.6)
2829* GNU/Linux RHEL or CentOS 7 (Python 2.7)
29- * GNU/Linux Fedora 22 to 26 (Python 2.6 or 2.7)
30- * GNU/Linux Debian wheezy and above (Python 2.7)
31- * Mac OS X 10.8+ (Python 2.6 or 2.7)
30+ * GNU/Linux RHEL or CentOS 8 (Python 3.6)
31+ * GNU/Linux Fedora 22 and above (Python 2.6+)
32+ * GNU/Linux Debian wheezy and above (Python 2.7+)
33+ * Mac OS X 10.8+ (Python 2.6+)
3234
3335Distribution
3436------------
@@ -40,10 +42,85 @@ ClusterShell should remain easily available to everyone. Hopefully, packages are
4042currently available for Fedora Linux, RHEL (through EPEL repositories), Debian
4143and Arch Linux.
4244
45+ .. _install-python-support-overview :
46+
47+ Python support overview
48+ ^^^^^^^^^^^^^^^^^^^^^^^
49+
50+ As seen in :ref: `install-requirements `, ClusterShell supports Python 2.6 and
51+ onwards, at least up to Python 3.8 at the time of writing.
52+
53+ The table below provides examples of versions of Python supported by
54+ ClusterShell packages as found in some common Linux distributions:
55+
56+ +------------------+----------------------------+-----------------------------------+
57+ | Operating | System Python version used | Alternate Python support |
58+ | System | by the clustershell tools | packaged (version-suffixed tools) |
59+ +==================+============================+===================================+
60+ | RHEL/CentOS 6 | Python 2.6 | Python 3.4 |
61+ +------------------+----------------------------+-----------------------------------+
62+ | RHEL/CentOS 7 | Python 2.7 | Python 3.4/3.6 |
63+ +------------------+----------------------------+-----------------------------------+
64+ | RHEL/CentOS 8 | **Python 3.6 ** | |
65+ +------------------+----------------------------+-----------------------------------+
66+ | Fedora 30 | Python 2.7 | Python 3.7 |
67+ +------------------+----------------------------+-----------------------------------+
68+ | Fedora 31 | **Python 3.8 ** | |
69+ +------------------+----------------------------+-----------------------------------+
70+ | openSUSE Leap 15 | Python 2.7 | Python 3.6 |
71+ +------------------+----------------------------+-----------------------------------+
72+ | SUSE SLES 12 | Python 2.7 | Python 3.4 |
73+ +------------------+----------------------------+-----------------------------------+
74+ | SUSE SLES 15 | Python 2.7 | Python 3.6 |
75+ +------------------+----------------------------+-----------------------------------+
76+ | Ubuntu 18.04 LTS | **Python 3.6 ** | |
77+ +------------------+----------------------------+-----------------------------------+
78+
79+ Red Hat Enterprise Linux (and CentOS)
80+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81+
82+ ClusterShell packages are maintained on Extra Packages for Enterprise Linux
83+ `EPEL `_ for Red Hat Enterprise Linux (RHEL) and its compatible spinoffs such
84+ as CentOS. At the time of writing, ClusterShell |version | is available on
85+ EPEL 6, 7 and 8.
86+
87+
88+ Install ClusterShell from EPEL
89+ """"""""""""""""""""""""""""""
90+
91+ First you have to enable the ``yum `` EPEL repository. We recommend to download
92+ and install the `EPEL `_ repository RPM package. On CentOS, this can be easily
93+ done using the following command::
94+
95+ $ yum --enablerepo=extras install epel-release
96+
97+ Then, the ClusterShell installation procedure is quite the same as for
98+ *Fedora Updates *, for instance::
99+
100+ $ yum install clustershell
101+
102+ With EPEL 6 and 7, the Python 2 modules and tools are installed by default. If
103+ interested in Python 3 support, simply install the additional ClusterShell's
104+ Python 3 subpackage using the following command::
105+
106+ $ yum install python34-clustershell
107+
108+ .. note :: The Python 3 subpackage is named ``python34-clustershell`` or
109+ ``python36-clustershell `` on EPEL 6 and 7, instead of
110+ ``python3-clustershell ``.
111+
112+ With EPEL 6 and 7, Python 3 versions of the tools are installed as
113+ *tool-pythonversion *, like ``clush-3.4 ``, ``cluset-3.4 `` or ``nodeset-3.4 `` on
114+ EPEL 6 and 7.
115+
116+ With EPEL 8, however, Python 3 is the system default, and Python 2 has been
117+ deprecated. Thus only Python 3 is supported by the EPEL clustershell packages,
118+ the tools are using Python 3 by default and are not suffixed anymore.
119+
43120Fedora
44121^^^^^^
45122
46- At the time of writing, ClusterShell |version | is available on Fedora 26
123+ At the time of writing, ClusterShell |version | is available on Fedora 31
47124(releases being maintained by the Fedora Project).
48125
49126Install ClusterShell from *Fedora Updates *
@@ -65,14 +142,16 @@ command::
65142
66143 $ dnf install clustershell
67144
68- Python 2 module and tools are installed by default. If interested in Python 3
69- development , simply install the additional ClusterShell's Python 3 subpackage
70- using the following command::
145+ Prior to Fedora 31, Python 2 modules and tools are installed by default. If
146+ interested in Python 3 support , simply install the additional ClusterShell's
147+ Python 3 subpackage using the following command::
71148
72149 $ dnf install python3-clustershell
73150
74- Python 3 versions of the tools are installed as *tool-pythonversion *, like
75- ``clush-3.6 ``, ``cluset-3.6 `` or ``nodeset-3.6 `` on Fedora 26.
151+ Prior to Fedora 31, Python 3 versions of the tools are installed as
152+ *tool-pythonversion *, like ``clush-3.6 ``, ``cluset-3.6 `` or ``nodeset-3.6 ``.
153+
154+ On Fedora 31 and onwards, only Python 3 is supported.
76155
77156Install ClusterShell from Fedora Updates Testing
78157""""""""""""""""""""""""""""""""""""""""""""""""
@@ -89,41 +168,6 @@ instance::
89168
90169 $ dnf install clustershell --enablerepo=updates-testing
91170
92- Red Hat Enterprise Linux (and CentOS)
93- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
94-
95- ClusterShell packages are maintained on Extra Packages for Enterprise Linux
96- `EPEL `_ for Red Hat Enterprise Linux (RHEL) and its compatible spinoffs such
97- as CentOS. At the time of writing, ClusterShell |version | is available on
98- EPEL 6 and 7.
99-
100-
101- Install ClusterShell from EPEL
102- """"""""""""""""""""""""""""""
103-
104- First you have to enable the ``yum `` EPEL repository. We recommend to download
105- and install the `EPEL `_ repository RPM package. On CentOS, this can be easily
106- done using the following command::
107-
108- $ yum --enablerepo=extras install epel-release
109-
110- Then, the ClusterShell installation procedure is quite the same as for
111- *Fedora Updates *, for instance::
112-
113- $ yum install clustershell
114-
115- Python 2 module and tools are installed by default. If interested in Python 3
116- development, simply install the additional ClusterShell's Python 3 subpackage
117- using the following command::
118-
119- $ yum install python34-clustershell
120-
121- .. note :: The Python 3 subpackage is named ``python34-clustershell`` on
122- EPEL 6 and 7, instead of ``python3-clustershell ``.
123-
124- Python 3 versions of the tools are installed as *tool-pythonversion *, like
125- ``clush-3.4 ``, ``cluset-3.4 `` or ``nodeset-3.4 `` on EPEL 6 and 7.
126-
127171openSUSE
128172^^^^^^^^
129173
@@ -144,8 +188,8 @@ To install ClusterShell on openSUSE, use::
144188
145189 $ zypper install clustershell
146190
147- Python 2 module and tools are installed by default. If interested in Python 3
148- development, simply install the additional ClusterShell's Python 3 subpackage
191+ Python 2 module and tools are installed by default. If interested in Python 3 support,
192+ simply install the additional ClusterShell's Python 3 subpackage
149193using the following command::
150194
151195 $ zypper install python3-clustershell
0 commit comments