docs/Homebrew-on-Linux: update dnf5 syntax, centos/rhel section

Tested on Fedora 42 and CentOS Stream/RHEL 10 (latest for all).

Note: Fedora 42 uses dnf5 while CentOS Stream/RHEL 10 use dnf4

See:
- https://github.com/Homebrew/install/pull/894
- 0fd28f83c8/install.sh (L1133)
This commit is contained in:
Osama Albahrani 2025-07-04 06:24:34 +03:00
parent 57024a9f2d
commit 4f677e72d4

View File

@ -61,7 +61,14 @@ To install build tools, paste at a terminal prompt:
sudo apt-get install build-essential procps curl file git
```
- **Fedora, CentOS Stream, or RHEL**
- **Fedora**
```sh
sudo dnf group install development-tools
sudo dnf install procps-ng curl file
```
- **CentOS Stream or RHEL**
```sh
sudo dnf group install 'Development Tools'