mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 08:26:35 +00:00
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:
@@ -73,7 +73,10 @@ EOF
|
|||||||
```
|
```
|
||||||
2. Import the file
|
2. Import the file
|
||||||
```bash
|
```bash
|
||||||
|
#Fedora 40 or earlier/Amazon Linux 2023** (DNF 4)
|
||||||
sudo dnf config-manager --add-repo /etc/yum.repos.d/netbird.repo
|
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
|
3. Install the package
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user