From 4f677e72d400cd4db89f678b4bcbd006e4c4dc51 Mon Sep 17 00:00:00 2001 From: Osama Albahrani <54853250+osalbahr@users.noreply.github.com> Date: Fri, 4 Jul 2025 06:24:34 +0300 Subject: [PATCH] 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 - https://github.com/Homebrew/install/blob/0fd28f83c8a60d8a8fc1d15a1f023d01aa4b7de5/install.sh#L1133 --- docs/Homebrew-on-Linux.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Homebrew-on-Linux.md b/docs/Homebrew-on-Linux.md index f10dff9693..1b55fbebea 100644 --- a/docs/Homebrew-on-Linux.md +++ b/docs/Homebrew-on-Linux.md @@ -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'