Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (25 sloc) 670 Bytes

Building on OpenBSD

Prepare your system

Make sure you have git, go and gmake installed on your system.

$ doas pkg_add -v git go gmake

Prepare go environment

Make sure your gopath is set:

$ export GOPATH=~/go
$ echo "$GOPATH"
$ export PATH="$PATH:$GOPATH/bin"


The install_unsupported target works nicely for openbsd. This will install gx, gx-go and run go install -tags nofuse ./cmd/ipfs.

$ go get -v -u -d

$ cd $GOPATH/src/
$ gmake install_unsupported

if everything went well, your ipfs binary should be ready at $GOPATH/bin/ipfs.

$ ipfs version