install.zerotier.com icon indicating copy to clipboard operation
install.zerotier.com copied to clipboard

Installation script does not recognize Nobara Linux / Unknown or unsupported distribution

Open TylesKS opened this issue 5 months ago • 2 comments

When trying to run the official ZeroTier installation script on my machine with Nobara Linux (a Fedora-based distro), I get the following message:

*** Unknown or unsupported distribution! Aborting.

Commands used:

curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import &&
if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi

Command output:

bash: syntax error near unexpected token `;&' gpg: WARNING: no command supplied. Trying to guess what you mean ... gpg: Signature made qua 19 fev 2025 18:53:14 -03 gpg: using RSA key 74A5E9C458E1A431F1DA57A71657198823E52A61 gpg: issuer "[email protected]" gpg: Good signature from "ZeroTier, Inc. (ZeroTier Support and Release Signing Key) [email protected]" [unknown] gpg: WARNING: The key's User ID is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 74A5 E9C4 58E1 A431 F1DA 57A7 1657 1988 23E5 2A61

*** ZeroTier Service Quick Install for Unix-like Systems

*** Tested OSes / distributions:

*** MacOS (10.13+) (just installs ZeroTier One.pkg) *** Debian Linux (7+) *** RedHat/CentOS Linux (6+) *** Fedora Linux (16+) *** SuSE Linux (12+) *** Mint Linux (20+) *** Kali Linux (2024.1+)

*** Supported architectures vary by OS / distribution. We try to support *** every system architecture supported by the target.

*** Please report problems by opening a GitHub issue or Pull Request at: *** https://github.com/zerotier/install.zerotier.com *** Please include the content of /etc/os-release for your distribution.

*** Detecting Linux Distribution

*** Unknown or unsupported distribution! Aborting.

System information (/etc/os-release):

NAME="Nobara Linux" VERSION="42 (KDE Plasma Desktop Edition)" ID=nobara ID_LIKE="rhel centos fedora" VERSION_ID=42 PRETTY_NAME="Nobara Linux 42 (KDE Plasma Desktop Edition)" HOME_URL="https://nobaraproject.org/" DOCUMENTATION_URL="https://www.nobaraproject.org/" SUPPORT_URL="https://www.nobaraproject.org/" BUG_REPORT_URL="https://github.com/nobara-project/nobara-images" VARIANT="KDE Plasma Desktop Edition" VARIANT_ID=kde

It seems the script does not recognize Nobara Linux, which is a Fedora-based distribution. Could you please add support for it or suggest a workaround?

Thank you!

TylesKS avatar Jun 29 '25 18:06 TylesKS

the workaround is to change your ID in /etc/os-release to fedora, then install zerotier and change it back.

i think the installer does not check for ID_LIKE because of other issues like https://github.com/zerotier/install.zerotier.com/issues/130 and https://github.com/zerotier/install.zerotier.com/issues/129

which have the same issue with forked distributions

rudi4463 avatar Jul 08 '25 22:07 rudi4463

the workaround is to change your ID in /etc/os-release to fedora, then install zerotier and change it back.

i think the installer does not check for ID_LIKE because of other issues like #130 and #129

which have the same issue with forked distributions

This worked like a charm! Thanks!

SolidCapo avatar Oct 23 '25 03:10 SolidCapo