Glorytun only depends on libsodium version >= 1.0.4.
Which can be installed on a wide variety of systems.
Linux is the platform of choice but the code is standard so it should be easily ported on other POSIX systems.
It was successfully tested on OpenBSD, FreeBSD and MacOS.
Linux
Download the binary of the release you want here.
For example if you want to install glorytun 0.3.4 on x86_64:
It is really easy to get a working glorytun without being root.
The only required capability is CAP_NET_ADMIN:
Unix-like systems or exotic architectures
You will need git, make, gcc (or clang) and libsodium:
To build and install the latest stable version from GitHub:
When libsodium is too old or not available on your system,
just call the script ./sodium.sh before make.
Finally, to install the stripped binary, call:
This will install the stripped binary in /usr/bin by default.
As usual you can use options CC, prefix and DESTDIR to adapt to your use-cases.
Cross-building a static binary
If you have a specific toolchain, like for example mips-linux-musl,
building a static binary is easy as:
Enjoy!