44Installing pip/setuptools/wheel with Linux Package Managers
55===========================================================
66
7+ :Page Status: Incomplete
8+ :Last Reviewed: 2021-07-26
9+
710.. contents :: Contents
811 :local:
912
@@ -30,21 +33,9 @@ versions. When this is known, we will make note of it below.
3033Fedora
3134~~~~~~
3235
33- * Fedora 33 & 34:
34-
35- .. code-block :: bash
36-
37- sudo dnf install python3 python3-wheel
38-
39- To get newer versions of pip, setuptools, and wheel for Python 2, you can enable
40- the `PyPA Copr Repo <https://copr.fedoraproject.org/coprs/pypa/pypa/ >`_ using
41- the `Copr Repo instructions
42- <https://fedorahosted.org/copr/wiki/HowToEnableRepo> `__, and then run:
43-
4436.. code-block :: bash
4537
46- sudo dnf upgrade python-setuptools
47- sudo dnf install python-pip python-wheel
38+ sudo dnf install python3 python3-wheel
4839
4940 CentOS/RHEL
5041~~~~~~~~~~~
@@ -68,7 +59,7 @@ To install pip and wheel for the system Python, there are two options:
6859
6960 .. code-block :: bash
7061
71- sudo yum install python -wheel
62+ sudo yum install python3 -wheel
7263
7364 Since EPEL only offers extra, non-conflicting packages, EPEL does not offer
7465 setuptools, since it's in the core repository.
@@ -81,13 +72,13 @@ To install pip and wheel for the system Python, there are two options:
8172
8273 .. code-block :: bash
8374
84- sudo yum install python -pip python -wheel
75+ sudo yum install python3 -pip python3 -wheel
8576
8677 To additionally upgrade setuptools, run:
8778
8879 .. code-block :: bash
8980
90- sudo yum upgrade python -setuptools
81+ sudo yum upgrade python3 -setuptools
9182
9283
9384 To install pip, wheel, and setuptools, in a parallel, non-system environment
0 commit comments