MemoDocumentation
EN

Build and packaging

Build from the Memo repository root. The Go backend and Flutter client are separate build steps; distribution scripts combine them with the engines.

Backend

CGO and FTS5 are required for the SQLite memory stack:

CGO_ENABLED=1 go build -tags "sqlite_fts5" ./...

Distribution scripts

Platform Entry point
Linux ./build_releases.sh
Linux arm64 ./scripts/build_releases_arm.sh
Windows .\scripts\build_releases.bat
macOS ./scripts/macrelease.sh

The main Linux builder produces tar.gz, AppImage and deb packages. The Windows builder creates an Inno Setup installer and zip. macOS packaging requires the platform's build tools. Engine binaries must be populated before packaging; use the source scripts guide for the platform-specific prerequisites.

User installation

End-user installers published at data.memocpp.com differ from maintainer packaging scripts. For normal installation, follow Installation. For development, follow Build from source.


Source document