Skip to content

Commit f7dd3b0

Browse files
hugovkerlend-aaslandezio-melottiencukou
authored
Linux: Remove outdated yum instructions (#1318)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 84b8813 commit f7dd3b0

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

getting-started/setup-building.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)