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/
This commit is contained in:
Oistein-J-S
2025-03-06 20:55:23 +01:00
committed by GitHub
parent a7960bdf45
commit ec243cdb0b

View File

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