Having ARM64 linux executables to download

Hello… since I’m using some ARM64 machine at home to host my personal stuffs, I tried to compile the writefreely from scratch using the git repo, but without a building guide I didn’t achieve that. At least, I wasn’t able to find a complete guide how to compile the source code.

Do you think it would be possible to have, either:

  • A full, step by step, guide on how to compile (prerequisites, and so)
  • Pre-compiled binaries for linux ARM64



you could try following the developer guide https://writefreely.org/docs/latest/developer/setup.md

and set the environment variables for target architecture. i.e.

cd cmd/writefreely
env GOOS=linux GOARCH=arm64 go build

which will get you the binary. I haven’t tested but maybe env GOOS=linux GOARCH=arm64 make build-no-sqlite
will work for you. notice the no-sqlite, I saw errors when trying to build with env GOOS=linux GOARCH=arm64 go build -tags='sqlite' and assumed maybe the library used is incompatible?

1 Like

Also see this comment about building with SQLite support on ARM – apparently it should work as mentioned there (I haven’t personally tested), but otherwise you can use something like xgo, which we use for make release in WriteFreely.

Once we hit v1.0 we’ll start putting out official builds for all platforms / architectures.

1 Like