Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more packages to CentOS setup instructions #1423

Merged
merged 2 commits into from
Sep 28, 2024
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