Compiling Binary from Source
This page describes how to compile the Exocore binary from source.
This page is only applicable for those who decided to compile the binary from source in the previous step.
If you downloaded the binary from Exocore's release page, please skip this step.
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
Note: If you receive the error Caught SIGILL in blst_cgo_init, consult /bindings/go/README.md
, try exporting the following environment variables in your shell and run make install
again.
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