File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,35 @@ usable on all platforms. Refer to the
6969section of the `Developer Guide `_ for current detailed information on
7070dependencies for various Linux distributions and macOS.
7171
72+ Platform dependency quick start
73+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74+
75+ The exact packages vary by distribution, but the following commands install
76+ the most common build prerequisites:
77+
78+ * Debian/Ubuntu::
79+
80+ sudo apt update
81+ sudo apt install build-essential gdb lcov pkg-config \ \
82+ libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev \ \
83+ liblzma-dev libncursesw5-dev libreadline6-dev libsqlite3-dev \ \
84+ libssl-dev tk-dev uuid-dev xz-utils zlib1g-dev
85+
86+ * Fedora/RHEL::
87+
88+ sudo dnf install @development-tools gdb lcov make pkgconfig bzip2-devel \ \
89+ expat-devel ffi-devel gdbm-devel ncurses-devel openssl-devel \ \
90+ readline-devel sqlite-devel tk-devel xz-devel zlib-devel
91+
92+ * macOS (Homebrew)::
93+
94+ brew update
95+ brew install pkg-config gdbm openssl readline sqlite tcl-tk xz zlib
96+
97+ Some extension modules require additional platform SDKs or libraries (for
98+ example, Bluetooth, multimedia codecs, or database drivers). Consult the
99+ `Developer Guide `_ for distribution-specific notes and optional dependencies.
100+
72101On macOS, there are additional configure and build options related
73102to macOS framework and universal builds. Refer to `Mac/README.rst
74103<https://github.com/python/cpython/blob/main/Mac/README.rst> `_.
You can’t perform that action at this time.
0 commit comments