Hello Zerotier Community
I’m using ubuntu desktop 22.04.1 on my laptop.
I’d like to install zerotier on it. First, I tried to install it via this guide, but somehow it didn’t work:
chainwarden@chainwarden ~/Zerotier-One_Build> sudo make install
mkdir -p /usr/sbin
rm -f /usr/sbin/zerotier-one
cp -f zerotier-one /usr/sbin/zerotier-one
rm -f /usr/sbin/zerotier-cli
rm -f /usr/sbin/zerotier-idtool
ln -s zerotier-one /usr/sbin/zerotier-cli
ln -s zerotier-one /usr/sbin/zerotier-idtool
mkdir -p /var/lib/zerotier-one
rm -f /var/lib/zerotier-one/zerotier-one
rm -f /var/lib/zerotier-one/zerotier-cli
rm -f /var/lib/zerotier-one/zerotier-idtool
ln -s ../../../usr/sbin/zerotier-one /var/lib/zerotier-one/zerotier-one
ln -s ../../../usr/sbin/zerotier-one /var/lib/zerotier-one/zerotier-cli
ln -s ../../../usr/sbin/zerotier-one /var/lib/zerotier-one/zerotier-idtool
mkdir -p /usr/share/man/man8
rm -f /usr/share/man/man8/zerotier-one.8.gz
cat doc/zerotier-one.8 | gzip -9 >/usr/share/man/man8/zerotier-one.8.gz
cat: doc/zerotier-one.8: No such file or directory
mkdir -p /usr/share/man/man1
rm -f /usr/share/man/man1/zerotier-idtool.1.gz
rm -f /usr/share/man/man1/zerotier-cli.1.gz
cat doc/zerotier-cli.1 | gzip -9 >/usr/share/man/man1/zerotier-cli.1.gz
cat: doc/zerotier-cli.1: No such file or directory
cat doc/zerotier-idtool.1 | gzip -9 >/usr/share/man/man1/zerotier-idtool.1.gz
cat: doc/zerotier-idtool.1: No such file or directory
cp ext/installfiles/linux/zerotier-one.te /var/lib/zerotier-one/zerotier-one.te
cp: cannot stat 'ext/installfiles/linux/zerotier-one.te': No such file or directory
make: *** [make-linux.mk:482: install] Error 1
chainwarden@chainwarden ~/Zerotier-One_Build> sudo systemctl status zerotier-one
Unit zerotier-one.service could not be found.
chainwarden@chainwarden /v/l/zerotier-one> zerotier
/snap/zerotier/192/usr/sbin/zerotier-cli: missing port and zerotier-one.port not found in /var/lib/zerotier-one
chainwarden@chainwarden /v/l/zerotier-one [2]> ls /var/lib/zerotier-one
zerotier-cli zerotier-idtool zerotier-one
When trying to install with curl:
chainwarden@chainwarden /v/l/zerotier-one> curl -s https://install.zerotier.com | sudo bash
*** 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 (18+)
*** Supported architectures vary by OS / distribution. We try to support
*** every system architecture supported by the target.
*** Please report problems to contact@zerotier.com and we will try to fix.
*** ZeroTier appears to already be installed.
And snap:
chainwarden@chainwarden /v/l/zerotier-one> sudo snap install zerotier
snap "zerotier" is already installed, see 'snap help refresh'
Any ideas what could go wrong?