@@ -32,20 +32,10 @@ Fedora
3232
3333* Fedora 33 & 34:
3434
35- * Python 3:
36-
3735 .. code-block :: bash
3836
3937 sudo dnf install python3 python3-wheel
4038
41- * Python 2:
42-
43- .. code-block :: bash
44-
45- sudo dnf upgrade python-setuptools
46- sudo dnf install python-pip python-wheel
47-
48-
4939 To get newer versions of pip, setuptools, and wheel for Python 2, you can enable
5040the `PyPA Copr Repo <https://copr.fedoraproject.org/coprs/pypa/pypa/ >`_ using
5141the `Copr Repo instructions
@@ -56,7 +46,6 @@ the `Copr Repo instructions
5646 sudo dnf upgrade python-setuptools
5747 sudo dnf install python-pip python-wheel
5848
59-
6049 CentOS/RHEL
6150~~~~~~~~~~~
6251
@@ -70,17 +59,10 @@ To install pip and wheel for the system Python, there are two options:
7059 <https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F> `__. On
7160 EPEL 6 and EPEL7, you can install pip like so:
7261
73- * Python3:
74-
7562 .. code-block :: bash
7663
7764 sudo yum install python3-pip
7865
79- * Python2:
80-
81- .. code-block :: bash
82-
83- sudo yum install python-pip
8466
8567 On EPEL 7 (but not EPEL 6), you can install wheel like so:
8668
@@ -137,18 +119,10 @@ To install pip, wheel, and setuptools, in a parallel, non-system environment
137119 openSUSE
138120~~~~~~~~
139121
140- * Python 3:
141-
142122 .. code-block :: bash
143123
144124 sudo zypper install python3-pip python3-setuptools python3-wheel
145125
146- * Python 2:
147-
148- .. code-block :: bash
149-
150- sudo zypper install python-pip python-setuptools python-wheel
151-
152126 Debian/Ubuntu
153127~~~~~~~~~~~~~
154128
@@ -157,19 +131,7 @@ Firstly, update and refresh repository lists by running this command:
157131.. code-block :: bash
158132
159133 sudo apt update
160-
161- * Python 3:
162-
163- .. code-block :: bash
164-
165- sudo apt install python3-venv python3-pip
166-
167- * Python 2:
168-
169- .. code-block :: bash
170-
171- sudo apt install python-pip
172-
134+ sudo apt install python3-venv python3-pip
173135
174136 .. warning ::
175137
@@ -181,18 +143,10 @@ Firstly, update and refresh repository lists by running this command:
181143Arch Linux
182144~~~~~~~~~~
183145
184- * Python 3:
185-
186146 .. code-block :: bash
187147
188148 sudo pacman -S python-pip
189149
190- * Python 2:
191-
192- .. code-block :: bash
193-
194- sudo pacman -S python2-pip
195-
196150----
197151
198152.. [1 ] Currently, there is no "copr" yum plugin available for CentOS/RHEL, so
0 commit comments