fix: use dnf5-compatible group install syntax

`dnf groupinstall "Development Tools"` fails on dnf5 (Fedora 41+).
Use `dnf group install development-tools` which works on both dnf4
and dnf5.
This commit is contained in:
René Kuhn 2026-02-18 12:20:51 +01:00 committed by Chummy
parent e10d359cf9
commit 58a99abb96
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ Example sample (macOS arm64, measured on February 18, 2026):
1. **Build essentials:** 1. **Build essentials:**
- **Linux (Debian/Ubuntu):** `sudo apt install build-essential pkg-config` - **Linux (Debian/Ubuntu):** `sudo apt install build-essential pkg-config`
- **Linux (Fedora/RHEL):** `sudo dnf groupinstall "Development Tools" && sudo dnf install pkg-config` - **Linux (Fedora/RHEL):** `sudo dnf group install development-tools && sudo dnf install pkg-config`
- **macOS:** Install Xcode Command Line Tools: `xcode-select --install` - **macOS:** Install Xcode Command Line Tools: `xcode-select --install`
2. **Rust toolchain:** 2. **Rust toolchain:**

View file

@ -74,7 +74,7 @@ install_system_deps() {
run_privileged apt-get update -qq run_privileged apt-get update -qq
run_privileged apt-get install -y build-essential pkg-config git curl run_privileged apt-get install -y build-essential pkg-config git curl
elif have_cmd dnf; then elif have_cmd dnf; then
run_privileged dnf groupinstall -y "Development Tools" run_privileged dnf group install -y development-tools
run_privileged dnf install -y pkg-config git curl run_privileged dnf install -y pkg-config git curl
else else
warn "Unsupported Linux distribution. Install compiler toolchain + pkg-config + git + curl manually." warn "Unsupported Linux distribution. Install compiler toolchain + pkg-config + git + curl manually."