From 1fca26ce44e4613fb9e15ec47fa724545dc737c7 Mon Sep 17 00:00:00 2001 From: ghijg <70027324+ghijg@users.noreply.github.com> Date: Tue, 10 Dec 2024 00:13:35 +0100 Subject: [PATCH] Syntax changed due to dnf5/Fedora41 Syntax changed for enabling repositories with dnf5 which is used by default from Fedora 41 on. https://dnf5.readthedocs.io/en/latest/changes_from_dnf4.7.html --- user/how-to-guides/how-to-install-software.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user/how-to-guides/how-to-install-software.md b/user/how-to-guides/how-to-install-software.md index da7aae0e47..83c70701b1 100644 --- a/user/how-to-guides/how-to-install-software.md +++ b/user/how-to-guides/how-to-install-software.md @@ -227,10 +227,10 @@ depending on which RPM Fusion repositories you wish to enable (see [RPM Fusion](https://rpmfusion.org/) for details): ~~~ -sudo dnf config-manager --set-enabled rpmfusion-free -sudo dnf config-manager --set-enabled rpmfusion-free-updates -sudo dnf config-manager --set-enabled rpmfusion-nonfree -sudo dnf config-manager --set-enabled rpmfusion-nonfree-updates +sudo dnf config-manager setopt rpmfusion-free.enabled=1 +sudo dnf config-manager setopt rpmfusion-free-updates.enabled=1 +sudo dnf config-manager setopt rpmfusion-nonfree.enabled=1 +sudo dnf config-manager setopt rpmfusion-nonfree-updates.enabled=1 sudo dnf upgrade --refresh ~~~