DEV Community

Cover image for How to install ZeroTier on openSUSE
Archer Allstars
Archer Allstars

Posted on • Edited on

How to install ZeroTier on openSUSE

ZeroTier is an open source software to create VPN (Virtual Private Network) over the internet with 256-bit end-to-end encryption. It's reliable, no hassle to setup, and you can use it for free for non-commercial use cases. It's no surprise that ZeroTier is very popular among gamers and many homebrew projects alike.

Normally, you should be able to install ZeroTier on Linux very easily. However, it's a bit more tricky on openSUSE, as the install instruction on the official download page, won't work. See ZeroTierOne issue #1517.


Here's how you install ZeroTier on openSUSE.

  1. Adding the right repository by opening YaST Software Repositories app, then click the Add button to add a repository.

    The add button to add a repository.

  2. Choose the Specify URL... option to add a repository via URL, then click Next.

    Choose the Specify URL... option

  3. You can enter whatever repository name that you want, but to prevent any confusion, I recommend you to use zerotier as a repository name (you're adding zerotier's repository after all). For the URL field, you'll have to add the official ZeroTier's repository for RHEL9: https://download.zerotier.com/redhat/el/9.

    Adding ZeroTier's repository

  4. Follow the onscreen instruction. YaST will prompt you about the unsigned file, which is pretty normal when you try to add a non-openSUSE repository, you can ignore it as there's nothing wrong with ZeroTier.

    Unsigned File Prompt

  5. At the end of the process, you should have zerotier repository Enabled and Autorefresh.

    zerotier repository enabled

  6. Now, you should be able to install ZeroTier from YaST Software Management app. Searching for zerotier-one package to install.

    zerotier-one package

  7. Initialize ZeroTier's daemon by: sudo zerotier-one -d.

  8. Open YaST Services Manager to check whether your zerotier-one service is currently in an active state, and also set to start on boot.

    zerotier-one service

After this you can use all the ZeroTier commands through sudo zerotier-cli without any issue. Or if you want to use ZeroTier through GUI, please check ZeroTier-GUI project on GitHub.

I hope this helps.


Cover photo by Lars Kienle on Unsplash

Top comments (0)