2.2.2. RPM

This article covers deploying Neo4j on Red Hat, CentOS, Fedora or Amazon Linux distributions using the Neo4j RPM package.

2.2.2.1. Red Hat / CentOS / Fedora

For distros like Red Hat, CentOS, Fedora, and Amazon Linux the steps are as follows

Add the repository

Follow these steps as root to add the repository:

rpm --import http://debian.neo4j.org/neotechnology.gpg.key
cat <<EOF>  /etc/yum.repos.d/neo4j.repo
[neo4j]
name=Neo4j RPM Repository
baseurl=http://yum.neo4j.org/stable
enabled=1
gpgcheck=1
EOF
Installation

To install Neo4j Community Edition as root:

yum install neo4j-3.2.2

To install Neo4j Enterprise Edition as root:

yum install neo4j-enterprise-3.2.2

2.2.2.2. SUSE

For SUSE based distributions the steps are as follows

Add the repository

Follow these steps as root to add the repository:

zypper addrepo --refresh http://yum.neo4j.org/stable neo4j-repository
Installation

To install Neo4j Community Edition as root:

zypper install neo4j-3.2.2

To install Neo4j Enterprise Edition as root:

zypper install neo4j-enterprise-3.2.2

2.2.2.3. Upgrade

For upgrade of any 3.x version of Neo4j to 3.2.2, follow instructions in Chapter 5, Upgrade.