Skip to content

Commit 3defe53

Browse files
authored
Add more packages to CentOS setup instructions (#1423)
1 parent 87d74ce commit 3defe53

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

getting-started/setup-building.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,19 @@ some of CPython's modules (for example, ``zlib``).
627627

628628
On **Fedora**, **RHEL**, **CentOS** and other ``dnf``-based systems::
629629

630+
$ sudo dnf install git pkg-config
630631
$ sudo dnf install dnf-plugins-core # install this to use 'dnf builddep'
631632
$ sudo dnf builddep python3
632633

634+
Some optional development dependencies are not included in the above.
635+
To install some additional dependencies for optional build and test components::
636+
637+
$ sudo dnf install \
638+
gcc gcc-c++ gdb lzma glibc-devel libstdc++-devel openssl-devel \
639+
readline-devel zlib-devel libffi-devel bzip2-devel xz-devel \
640+
sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs perf \
641+
expat expat-devel mpdecimal python3-pip
642+
633643

634644
On **Debian**, **Ubuntu**, and other ``apt``-based systems, try to get the
635645
dependencies for the Python you're working on by using the ``apt`` command.

0 commit comments

Comments
 (0)