-
Notifications
You must be signed in to change notification settings - Fork 135
Improved Documentation for Zypper and small fixes. #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
fa3369c
a603f5e
2bd7f09
64a2e47
d95f3f0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,7 +94,7 @@ EOF | |
| sudo yum install netbird | ||
| ``` | ||
|
|
||
| ### Fedora / RHEL 10+ / Amazon Linux 2023 (DNF) | ||
| ### RHEL 8+ / Fedora / Amazon Linux 2023 (DNF) | ||
|
|
||
| 1. Create the repository file: | ||
| ```bash | ||
|
|
@@ -110,9 +110,9 @@ EOF | |
| ``` | ||
| 2. Import the file | ||
| ```bash | ||
| #Fedora 40 or earlier/Amazon Linux 2023** (DNF 4) | ||
| # RHEL / 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) | ||
| # Fedora 41 or later (DNF 5) | ||
| sudo dnf config-manager addrepo --from-repofile=/etc/yum.repos.d/netbird.repo | ||
| ``` | ||
| 3. Install the package | ||
|
|
@@ -247,21 +247,60 @@ distrobox-export -b /usr/bin/netbird | |
| ### openSUSE (zypper) | ||
|
|
||
| 1. Add the repository: | ||
| ``` | ||
| sudo zypper addrepo https://pkgs.netbird.io/yum/ netbird | ||
| ``` | ||
| 2. Install the package / GPG key | ||
|
|
||
| * Key Fingerprint: `AA9C 09AA 9DEA 2F58 112B 40DF DFFE AB2F D267 A61F` | ||
| * Key ID: `DFFEAB2FD267A61F` | ||
| * Email: `dev@netbird.io` | ||
|
|
||
| ```bash | ||
| sudo rpm --import https://pkgs.netbird.io/yum/repodata/repomd.xml.key | ||
| sudo zypper addrepo https://pkgs.netbird.io/yum/ netbird | ||
| ``` | ||
|
|
||
| 2. Refresh the repository: | ||
|
|
||
| ```bash | ||
| sudo zypper --gpg-auto-import-keys refresh netbird | ||
| ``` | ||
|
|
||
| 3. Install the package: | ||
|
|
||
| ```bash | ||
| # for CLI only | ||
| sudo zypper in netbird | ||
| # for GUI package | ||
| sudo zypper in netbird-ui | ||
| ``` | ||
|
|
||
| #### openSUSE MicroOS (Aeon, Kalpa) | ||
|
|
||
| 1. Add the repository: | ||
| ```bash | ||
| sudo zypper addrepo https://pkgs.netbird.io/yum/ netbird | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't the commands from above need to be here too?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This does not work because on OpenSUSE MicroOS, the RPM database is read-only, so you cannot add the GPG key. Using transactional-update will ask you to accept the key. I will add instructions to this PR to verify that. |
||
| ``` | ||
|
|
||
| 2. Install the package and reboot your computer. | ||
| ```bash | ||
| # for CLI only | ||
| sudo transactional-update pkg in netbird | ||
| # for GUI package | ||
| sudo transactional-update pkg in netbird-ui | ||
| sudo reboot | ||
| ``` | ||
| # MicroOS (immutable OS with selinux) | ||
| transactional-update pkg in netbird | ||
| reboot | ||
|
|
||
| # Tumbleweed / Leap | ||
| zypper in netbird | ||
| During the transaction, zypper asks whether to trust the repository signing key. Verify that the displayed fingerprint matches: | ||
|
|
||
| ```text | ||
| AA9C 09AA 9DEA 2F58 112B 40DF DFFE AB2F D267 A61F | ||
| ``` | ||
|
|
||
| Enter `a` to trust the key permanently. | ||
|
|
||
|
|
||
| After rebooting, enable and start the service: | ||
|
|
||
| ```bash | ||
| sudo systemctl enable --now netbird | ||
| ``` | ||
|
|
||
| <Note> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary **
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved in new commit, thanks!