To facilitate better answering of questions, if you have a question, please fill in the following info. Otherwise, please delete the template.
What I want to do
I can run dgraph from a non-root user (with the --cwd and --log_dir parameters) no problem, but I can’t either use the curl | bash installation method (which requires sudo) nor can I install from source (for that matter, even doing just a “make” to build also calls sudo.)
What I’d really like to see, at least with the github repo, is an autoconf or CMake build system that takes a --prefix or equivalent parameter/envvar so the defaults for DGraph point somewhere other than /usr/local and negates the need for sudo.
What I did
Tried reading the Makefiles and the web.
Dgraph metadata
[Decoder]: Using assembly version of decoder
Page Size: 4096
Dgraph version : v20.11.3
Dgraph codename : tchalla-3
Dgraph SHA-256 : c3c1474369415e74b1a59ec7053cd1e585c9d55fe71243c72c48e313728d995a
Commit SHA-1 : 8d3eb766c
Commit timestamp : 2021-03-31 17:28:12 +0530
Branch : HEAD
Go version : go1.15.5
jemalloc enabled : true