From fe13b8502ba62d18aca46936bff1972a2bf5541c Mon Sep 17 00:00:00 2001 From: pranavchoudhary-tech Date: Fri, 19 Jun 2026 02:24:41 +0530 Subject: [PATCH 1/3] Docs: Update Linux build dependencies intro to mention package managers --- getting-started/setup-building.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 046e091d8..cc9c2f2e9 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -765,7 +765,7 @@ some of CPython's modules (for example, ``zlib``). For Unix-based systems, we try to use system libraries whenever available. This means optional components will only build if the relevant system headers are available. The best way to obtain the appropriate headers will vary by - distribution, but the appropriate commands for some popular distributions + distribution, but the appropriate commands for some popular package managers are below. .. tab:: dnf From 2465fe34475329fb1f8c916d9a79db96ceb093e8 Mon Sep 17 00:00:00 2001 From: pranavchoudhary-tech Date: Fri, 19 Jun 2026 02:45:22 +0530 Subject: [PATCH 2/3] Docs: Reword Linux dependencies intro --- getting-started/setup-building.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index cc9c2f2e9..1b2a73fe2 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -764,9 +764,8 @@ some of CPython's modules (for example, ``zlib``). For Unix-based systems, we try to use system libraries whenever available. This means optional components will only build if the relevant system headers - are available. The best way to obtain the appropriate headers will vary by - distribution, but the appropriate commands for some popular package managers - are below. + are available. The best way to obtain these headers varies by distribution, + but commands for some popular package managers are given below. .. tab:: dnf From 685ffcbb59570b76f07eb06d5f91904fe9eff062 Mon Sep 17 00:00:00 2001 From: pranavchoudhary-tech Date: Fri, 19 Jun 2026 13:09:03 +0530 Subject: [PATCH 3/3] Docs: Change Linux dependencies tabs to use distribution names --- getting-started/setup-building.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 1b2a73fe2..d653fd73a 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -765,9 +765,9 @@ some of CPython's modules (for example, ``zlib``). For Unix-based systems, we try to use system libraries whenever available. This means optional components will only build if the relevant system headers are available. The best way to obtain these headers varies by distribution, - but commands for some popular package managers are given below. + but commands for some popular distributions are given below. - .. tab:: dnf + .. tab:: Fedora / RHEL / CentOS On **Fedora**, **RHEL**, **CentOS** and other ``dnf``-based systems:: @@ -784,7 +784,7 @@ some of CPython's modules (for example, ``zlib``). xz-devel sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs \ perf expat expat-devel mpdecimal python3-pip - .. tab:: apt + .. tab:: Debian / Ubuntu On **Debian**, **Ubuntu**, and other ``apt``-based systems, try to get the dependencies for the Python you're working on by using the ``apt`` command.