Enabling Yum/Dnf Neo4j Database Repo
How to Add Neo4j Database Yum/Dnf GNU/Linux Repository.
Finally, this Neo4j Database Yum Repo is valid for all the Rpm Based Distros like:
- Fedora
- CentOS
- Red Hat Enterprise Linux
- Oracle Enterprise Linux
- Scientific Linux
1. Terminal Quick Start
How to Quick Start with Command Line on Linux
2. Importing GPG Key
So first Import the Repo GPG Key
With:sudo rpm --import https://debian.neo4j.com/neotechnology.gpg.key
3. Adding Neo4j Database Repository
Finally, to Add Neo4j Database Yum Repository
For the Latest release simply run:sudo su -c "cat <<EOF> /etc/yum.repos.d/neo4j.repo [neo4j] name=Neo4j RPM Repository baseurl=https://yum.neo4j.com/stable/latest enabled=1 gpgcheck=1 EOF"
Instead for a specific one, as for instance 5:sudo su -c "cat <<EOF> /etc/yum.repos.d/neo4j.repo [neo4j] name=Neo4j RPM Repository baseurl=https://yum.neo4j.com/stable/5 enabled=1 gpgcheck=1 EOF"
The cat Command will Output the Block definition into the /etc/yum.repos.d/neo4j.repo File.
Contents