Install.sh just pulls binary on some distros #2400

Open
opened 2025-11-20 07:09:16 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @neliets on GitHub (Oct 22, 2025).

Describe the problem
While testing Netbird on OpenSUSE, I noticed that install.sh script does not infact add repo and install it properly (or just use OpenSUSE provided package, but rather downloads the binary and runs it. This is kind of crazy to have script written like this. Any other way would be better.

To Reproduce

Steps to reproduce the behavior:

  1. Run install.sh script on system without apt, yum or dnf

Expected behavior

First, script should check OS, based on that, check with package manager if a package is available from repositories directly, if not - add your own repo and install it. There is an argument for immediately just adding a your repo and installing from there. If you are not willing to support certain OS, then the script should fail or give a choice to just download binary mentioning that updates will have to be done manually by downloading a new binary.

Originally created by @neliets on GitHub (Oct 22, 2025). **Describe the problem** While testing Netbird on OpenSUSE, I noticed that install.sh script does not infact add repo and install it properly (or just use OpenSUSE provided package, but rather downloads the binary and runs it. This is kind of crazy to have script written like this. Any other way would be better. **To Reproduce** Steps to reproduce the behavior: 1. Run install.sh script on system without apt, yum or dnf **Expected behavior** First, script should check OS, based on that, check with package manager if a package is available from repositories directly, if not - add your own repo and install it. There is an argument for immediately just adding a your repo and installing from there. If you are not willing to support certain OS, then the script should fail or give a choice to just download binary mentioning that updates will have to be done manually by downloading a new binary.
saavagebueno added the triage-needed label 2025-11-20 07:09:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2400