Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions getting-started/setup-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,19 @@ 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 \
expat expat-devel mpdecimal 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.
Expand Down
Loading