Binary
Ubuntu, Centos/Redhat/AWS-Linux/etc (rh7+), openSuse and similar:
Za version 1.1.8 is available here.
Alpine or other musl variant:
Za version 1.1.8 is available here.
The location of the Za binary is left up to the end user. We recommend /usr/local/bin/ or /usr/bin/ if that does not conflict with other software. Alternatively, just keep it local to where it is used.
Source
Source code for Za is available for download here
It is also available on github: here
First installation (Ubuntu 20.04+):
# install go 1.18+ - you may need to add ppa:longsleep/golang-backports repository first.
sudo apt update
sudo apt install -y golang-go
# install pcre3 development files
sudo apt install -y libpcre3-dev
# unpack source tar
tar -xzvf za-1.1.8.tgz && cd go/src/za
# initial build
go build za
# install (assuming /usr/bin/za does not already exist!)
sudo cp za /usr/bin/za
On subsequent builds:
cd go/src/za
./build
... then copy za executable to where you need it/import in dockerfile.