From ec243cdb0b10e9a359782576a1825846cf0b3739 Mon Sep 17 00:00:00 2001 From: Oistein-J-S <33286114+Oistein-J-S@users.noreply.github.com> Date: Thu, 6 Mar 2025 20:55:23 +0100 Subject: [PATCH] Update installation.mdx for DNF5 (#283) In Fedora 41 the package manager changed from DNF4 to DNF5. Adding a repo now have have different instructions. Updated the install instructions to reflect the change in syntax. ref: https://docs.fedoraproject.org/en-US/quick-docs/adding-or-removing-software-repositories-in-fedora/ --- src/pages/how-to/installation.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/how-to/installation.mdx b/src/pages/how-to/installation.mdx index 62e101a2..0b435f74 100644 --- a/src/pages/how-to/installation.mdx +++ b/src/pages/how-to/installation.mdx @@ -73,7 +73,10 @@ EOF ``` 2. Import the file ```bash +#Fedora 40 or earlier/Amazon Linux 2023** (DNF 4) sudo dnf config-manager --add-repo /etc/yum.repos.d/netbird.repo +#Fedora 41 or later (DNF 5) + sudo dnf config-manager addrepo --from-repofile=/etc/yum.repos.d/netbird.repo ``` 3. Install the package ```bash