RPM Package for RHEL/CentOS/Amzn Linux

Moved from GitHub dgraph/5192

Posted by darkn3rd:

As a Linux user (RHEL, CentOS), I want to install dgraph binaries using yum or dnf, so that installation super easy and enjoy benefits of package management (searched, install audited, automation)

Implementation: We would post packages and gpg key on a web server, and users would then use yum -config-manager --add-repo URL to add the repository, or edit /etc/yum/conf or add a file to /etc/yum.repos.d.