NOTE: This tool can only run on recent versions of
Ubuntu/Debian/Fedora Linux
by default.
cp custom.env.example custom.env
# write your own settings
vi custom.env
make prepare # execute once
make build # execute every time
OR
make # "make prepare + make build"
Manually install system dependencies based on your OS platform:
# Ubuntu example
apt install --no-install-recommends -y \
golang ca-certificates build-essential \
python3 python3-dev python3-venv python3-pip \
gettext-base jq wget curl
# Fedora example
dnf install -y golang ca-certificates \
python3 python3-devel python3-pip \
make pkg-config gcc gcc-c++ kernel-devel gettext jq wget curl
# Gentoo/Redhat/Suse ...
# ...
# Your installation commands equivalent to the above two OSs are
# ...
Prapare:
# Use `make prepare_minimal` instead of `make prepare`
make perpare_minimal
Build:
make build