Docs

Doc / build-freebsd



Build OmniEdge for FreeBSD

Install golang for your distribution

Follow the instruction to install golang, we use 1.16.6, or running the following command:

wget https://go.dev/dl/go1.16.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version

Build for FreeBSD

su
pkg update && pkg install go gmake git openssl zip autoconf automake libtool
git clone https://github.com/omniedgeio/omniedge-cli
cd omniedge-cli
go mod download
go generate
BUILD_ENV=prod make build-freebsd

The compiled omniedge-cli will be found in /out/


If you have more questions, feel free to discuss.

On This Page

OmniEdge

© 2024 OmniEdge Inc. All rights reserved

Built by a global remote team.
US | AU | CN | DE | MY | CA

TwitterGithubDiscord