mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
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:
parent
57024a9f2d
commit
4f677e72d4
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user