mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-08 11:33:49 -05:00
Update the Fedora-related descriptions and change tk-devel to tk8-devel.
9
Home.md
9
Home.md
@@ -88,6 +88,15 @@ so we still recommend building against Tcl/Tk 8 as of that release.
|
||||
```sh
|
||||
dnf install make gcc patch zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel libuuid-devel gdbm-libs libnsl2
|
||||
```
|
||||
- Fedora 42 and above (Tcl/Tk 9 by default)
|
||||
|
||||
Fedora 42 and later ship with **Tcl/Tk 9.0** as the default. Some Python versions (for example, 3.10 and 3.11) cannot build the `_tkinter` module against Tk 9.0. To ensure compatibility, install the **Tcl/Tk 8.6 compatibility packages** instead:
|
||||
|
||||
```bash
|
||||
dnf install make gcc patch zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk8-devel libffi-devel xz-devel libuuid-devel gdbm-libs libnsl2
|
||||
```
|
||||
|
||||
> **Note:** Package names for the 8.6 compatibility libraries are `tk8-devel` on Fedora 42+.
|
||||
|
||||
Additionally, you should install `zstd-devel` if you are building Python 3.14 or newer but note that Python requires zstd 1.4.5 or newer, which may not be available in the default package repositories.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user