Compiling Binary from Source
Instructions to compile from source
Prerequisites
To compile the binary, begin by acquiring the build tools meta package (containing make
, gcc
, g++
and other tools) for your choice of Linux distribution.
Ubuntu
Amazon Linux / CentOS
In addition, you will need to install go
. The version used is 1.22.12
, and it can be downloaded and installed based on the instructions here.
If you get a permissions-related issue, try to prefix the first two commands with sudo
Compiling
Download the source
Build and install
Check the version
Using Docker to compile
You can use containerization to avoid installing any dependencies on your system, if you already have docker installed.
The release binary is available in dist/*/bin
folder for each architecture and can be moved to $PATH
.
Last updated