From 7c6cd8bb6e6736e8f596fdd263f5d8b22f605202 Mon Sep 17 00:00:00 2001 From: JoeYang1412 <94301119+JoeYang1412@users.noreply.github.com> Date: Sat, 25 Oct 2025 13:47:46 +0800 Subject: [PATCH] Update the Fedora-related descriptions and change tk-devel to tk8-devel. --- Home.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Home.md b/Home.md index fd96b1c..24926ef 100644 --- a/Home.md +++ b/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.