Skip to content

Commit 519f3ef

Browse files
authored
Use dnf instead of yum
1 parent 6150b9d commit 519f3ef

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

source/guides/installing-using-linux-tools.rst

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Fedora
3535

3636
.. code-block:: bash
3737
38-
sudo dnf install python3 python3-wheel
38+
sudo dnf install python3-pip python3-wheel
3939
4040
To learn more about Python in Fedora, please visit the `official Fedora docs`_,
4141
`Python Classroom`_ or `Fedora Loves Python`_.
@@ -55,19 +55,12 @@ To install pip and wheel for the system Python, there are two options:
5555
1. Enable the `EPEL repository <https://fedoraproject.org/wiki/EPEL>`_ using
5656
`these instructions
5757
<https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F>`__.
58-
On EPEL 6 and EPEL 7, you can install pip like so:
58+
On EPEL 7, you can install pip and wheel like so:
5959

6060
.. code-block:: bash
6161
62-
sudo yum install python3-pip
63-
64-
65-
On EPEL 7 (but not EPEL 6), you can install wheel like so:
66-
67-
.. code-block:: bash
68-
69-
sudo yum install python3-wheel
70-
62+
sudo dnf install python3-pip python3-wheel
63+
7164
Since EPEL only offers extra, non-conflicting packages, EPEL does not offer
7265
setuptools, since it's in the core repository.
7366

@@ -79,13 +72,13 @@ To install pip and wheel for the system Python, there are two options:
7972

8073
.. code-block:: bash
8174
82-
sudo yum install python3-pip python3-wheel
75+
sudo dnf install python3-pip python3-wheel
8376
8477
To additionally upgrade setuptools, run:
8578

8679
.. code-block:: bash
8780
88-
sudo yum upgrade python3-setuptools
81+
sudo dnf upgrade python3-setuptools
8982
9083
9184
To install pip, wheel, and setuptools, in a parallel, non-system environment

0 commit comments

Comments
 (0)