Skip to content

Commit 6f81544

Browse files
drizztkevintraynor
authored andcommitted
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 <tredaelli@redhat.com> Acked-by: Mike Pattrick <mkp@redhat.com> Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
1 parent 7a85d1c commit 6f81544

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Documentation/intro/install/fedora.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ Build Requirements
3737
------------------
3838

3939
You will need to install all required packages to build the RPMs.
40-
Newer distributions use ``dnf`` but if it's not available, then use
41-
``yum`` instructions.
40+
Fedora 41 and newer version use ``dnf5`` by default.
41+
Other distributions typically use ``dnf``.
42+
If neither ``dnf5`` nor ``dnf`` is available, then use ``yum`` instructions.
4243

4344
The command below will install RPM tools and generic build dependencies.
4445
And (optionally) include these packages: libcap-ng libcap-ng-devel dpdk-devel.
4546

47+
DNF5:
48+
::
49+
50+
$ dnf5 install @development-tools rpm-build dnf-plugins-core
51+
4652
DNF:
4753
::
4854

0 commit comments

Comments
 (0)