From 00dcc546a1b9669b66a8985ceecd8266e33607d7 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Fri, 25 Jul 2025 14:56:02 +0200 Subject: [PATCH] Documentation: Use @development-tools on dnf5. dnf5 requires the group ID (e.g., development-tools) rather than the group name (e.g., Development Tools) used in previous versions of dnf and in yum. Updated documentation to reflect this change. Signed-off-by: Timothy Redaelli Acked-by: Mike Pattrick Signed-off-by: Kevin Traynor --- Documentation/intro/install/fedora.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/intro/install/fedora.rst b/Documentation/intro/install/fedora.rst index f8a6bb6b6..b1e4fbd0b 100644 --- a/Documentation/intro/install/fedora.rst +++ b/Documentation/intro/install/fedora.rst @@ -37,12 +37,18 @@ Build Requirements ------------------ You will need to install all required packages to build the RPMs. -Newer distributions use ``dnf`` but if it's not available, then use -``yum`` instructions. +Fedora 41 and newer version use ``dnf5`` by default. +Other distributions typically use ``dnf``. +If neither ``dnf5`` nor ``dnf`` is available, then use ``yum`` instructions. The command below will install RPM tools and generic build dependencies. And (optionally) include these packages: libcap-ng libcap-ng-devel dpdk-devel. +DNF5: +:: + + $ dnf5 install @development-tools rpm-build dnf-plugins-core + DNF: ::