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: ::