Skip to content

Commit

Permalink
Add more packages to CentOS setup instructions (#1423)
Browse files Browse the repository at this point in the history
  • Loading branch information
itamaro authored Sep 28, 2024
1 parent 87d74ce commit 3defe53
Showing 1 changed file with 10 additions and 0 deletions.
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

0 comments on commit 3defe53

Please sign in to comment.