@@ -619,29 +619,25 @@ on Linux, macOS and iOS.
619619 distribution, but the appropriate commands for some popular distributions
620620 are below.
621621
622- On **Fedora **, **Red Hat Enterprise Linux ** and other ``yum `` based systems::
623-
624- $ sudo yum install yum-utils
625- $ sudo yum-builddep python3
626-
627- On **Fedora ** and other ``DNF `` based systems::
622+ On **Fedora **, **RHEL **, **CentOS ** and other ``dnf ``-based systems::
628623
629624 $ sudo dnf install dnf-plugins-core # install this to use 'dnf builddep'
630625 $ sudo dnf builddep python3
631626
632- On **Debian **, **Ubuntu **, and other ``apt `` based systems, try to get the
627+
628+ On **Debian **, **Ubuntu **, and other ``apt ``-based systems, try to get the
633629 dependencies for the Python you're working on by using the ``apt `` command.
634630
635631 First, make sure you have enabled the source packages in the sources list.
636632 You can do this by adding the location of the source packages, including
637633 URL, distribution name and component name, to ``/etc/apt/sources.list ``.
638634 Take Ubuntu 22.04 LTS (Jammy Jellyfish) for example::
639635
640- deb-src http://archive.ubuntu.com/ubuntu/ jammy main
636+ $ deb-src http://archive.ubuntu.com/ubuntu/ jammy main
641637
642638 Alternatively, uncomment lines with ``deb-src `` using an editor, e.g.::
643639
644- sudo nano /etc/apt/sources.list
640+ $ sudo nano /etc/apt/sources.list
645641
646642 For other distributions, like Debian, change the URL and names to correspond
647643 with the specific distribution.
0 commit comments