From 759000ca5b1d5725b04e61b222e5ee587aaea43d Mon Sep 17 00:00:00 2001 From: Itamar Oren Date: Fri, 27 Sep 2024 16:56:36 -0700 Subject: [PATCH 1/2] Add more packages to CentOS setup instructions --- getting-started/setup-building.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 0c0e28691..09641d9f9 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -627,9 +627,18 @@ some of CPython's modules (for example, ``zlib``). On **Fedora**, **RHEL**, **CentOS** and other ``dnf``-based systems:: + $ sudo dnf install git pkg-config $ sudo dnf install dnf-plugins-core # install this to use 'dnf builddep' $ sudo dnf builddep python3 + Some optional development dependencies are not included in the above. + To install some additional dependencies for optional build and test components:: + + $ sudo dnf install \ + gcc gcc-c++ gdb lzma glibc-devel libstdc++-devel openssl-devel \ + readline-devel zlib-devel libffi-devel bzip2-devel xz-devel \ + sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs perf python3-pip + 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. From 9291b572830a124826a3ea2ecf7f15dc5d0a3f97 Mon Sep 17 00:00:00 2001 From: Itamar Oren Date: Fri, 27 Sep 2024 17:08:26 -0700 Subject: [PATCH 2/2] Also add expat expat-devel mpdecimal --- getting-started/setup-building.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 09641d9f9..021916e4d 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -637,7 +637,8 @@ some of CPython's modules (for example, ``zlib``). $ sudo dnf install \ gcc gcc-c++ gdb lzma glibc-devel libstdc++-devel openssl-devel \ readline-devel zlib-devel libffi-devel bzip2-devel xz-devel \ - sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs perf python3-pip + sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs perf \ + expat expat-devel mpdecimal python3-pip On **Debian**, **Ubuntu**, and other ``apt``-based systems, try to get the