Installation
You'll find below the available ways of getting the needed okp4d
binary to start a node.
Supported platforms
okp4d
currently supports the following builds.
Platform | Arch | Status |
---|---|---|
Darwin | amd64 | ✅ |
Darwin | arm64 | ✅ |
Linux | amd64 | ✅ |
Linux | arm64 | ✅ |
Windows | amd64 | ️🚫 Not supported |
Release binary
You'll find the released binaries on the GitHub repository. These are statically linked builds, so be careful to choose the right binary for your system (i.e. linux/amd64
or linux/arm64
). Checksums are also provided if you wish to verify the integrity of the download.
To easily install okp4d
from a GitHub release you can use this oneliner script:
curl https://i.jpillora.com/okp4/okp4d@{data.axonedVersion}! | bash
By principle, take the time to verify the checksum manually.
Docker
The okp4d
binary can be invoked directly through the following docker image:
docker run -ti --rm okp4/okp4d:v10.0.0 --help
Build once, deploy anywhere: The docker image is a multi-arch build supporting both amd64
and arm64
architectures.
Build from source
Prerequisites
go
— OKP4 is built using Go version 19+. InstallGo
1.19+
following instructions from the official Go documentation.make
— the project comes with a convenientMakefile
so verify thatmake
is properly installed.git
— in order to clone the project you need to havegit
installed.
Steps
Clone the okp4/okp4d repo:
git clone https://github.com/okp4/okp4d
cd okp4d
Install okp4d
using the provided Makefile
:
make install
You can verify that everything is OK:
okp4d version
You should get an output similar to:
v10.0.0