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:
parent
e10d359cf9
commit
58a99abb96
2 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ Example sample (macOS arm64, measured on February 18, 2026):
|
|||
|
||||
1. **Build essentials:**
|
||||
- **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`
|
||||
|
||||
2. **Rust toolchain:**
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ install_system_deps() {
|
|||
run_privileged apt-get update -qq
|
||||
run_privileged apt-get install -y build-essential pkg-config git curl
|
||||
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
|
||||
else
|
||||
warn "Unsupported Linux distribution. Install compiler toolchain + pkg-config + git + curl manually."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue