Dgraph is now available as a snap, which means you can install it on any Linux distribution that has snapd available (it's pre-installed in Ubuntu):
sudo snap install dgraph
This will get the daemon up and running already (http://localhost:8080). This is the released upstream binaries, not rebuilt.
The snap is strictly confined, which means the commands and the daemon will not have access to the filesystem in your machine other than what is explicitly allowed.
If you're not familiar with snaps, the snap is mounted read-only under:
and the data will be available at
Note that the default channel is latest/stable and snaps automatically update, so if there is a new version of dgraph, you'll get it automatically.
Things I need to do next:
- Implement data migration on updates
- Support snap configuration for tuning (snap get/set)
- Commit snapcraft.yaml into the tree so we can get automatic builds daily onto the edge channel