Currently struggling to install NetBird, and I could use some help: will the install.sh
script work for CL? If not should I follow the Fedora route, or the RPM route? Otherwise, the Docker version sounded like less of a hassle, tough I got stuck at setting (and persisting) the NB_SETUP_KEY
variable.
Many thanks!
1 Like
Heya!
NetBird maintainer here
Thank you for trying NetBird! As we discussed in Slack, you could try running the install.sh script. It will try to detect your package manager and if unsuccessful install the NetBird binary.
curl -fsSL https://pkgs.netbird.io/install.sh | sh
Let me know how it goes!
1 Like
Looks like it doesn’t work, even though I am pretty sure that I do have dnf
installed:
dad@DadsGram~ $ sudo curl -fsSL https://pkgs.netbird.io/install.sh | sh
Password:
The installation will be performed using dnf package manager
tee: /etc/yum.repos.d/netbird.repo: No such file or directory
[Netbird]
name=Netbird
baseurl=https://pkgs.netbird.io/yum/
enabled=1
gpgcheck=0
gpgkey=https://pkgs.netbird.io/yum/repodata/repomd.xml.key
repo_gpgcheck=1
Try to create yum.repos.d directory first
sudo mkdir /etc/yum.repos.d
1 Like
Netbird installation now works with the following script (no sudo required, although it will ask for the sudo password somwhere along the way):
export USE_BIN_INSTALL=true
curl -fsSL https://pkgs.netbird.io/install.sh | sh
netbird up
2 Likes