Neo4j Stable Yum Repo
Documentation for the Neo4j 3.0 (and above) RPM package is available here.
Adding the Yum repository
First, import our signing key:
rpm --import https://debian.neo4j.com/neotechnology.gpg.key
Then, you will need to add our yum repo to /etc/yum.repos.d/neo4j.repo.
To avoid the risk of the yum
package manager accidentally forcing a database upgrade, different major and minor releases of Neo4j are available separately inside the repository.
When adding the Neo4j repository to yum
, you must specify the major and minor version branch you wish to use.
Here are some examples:
Neo4j 5
cat <<EOF> /etc/yum.repos.d/neo4j.repo [neo4j] name=Neo4j Yum Repo baseurl=https://yum.neo4j.com/stable/5 enabled=1 gpgcheck=1 EOF
Neo4j 4.4
cat <<EOF> /etc/yum.repos.d/neo4j.repo [neo4j] name=Neo4j Yum Repo baseurl=https://yum.neo4j.com/stable/4.4 enabled=1 gpgcheck=1 EOF
Neo4j 3.5
cat <<EOF> /etc/yum.repos.d/neo4j.repo [neo4j] name=Neo4j Yum Repo baseurl=https://yum.neo4j.com/stable/3.5 enabled=1 gpgcheck=1 EOF
Installing Neo4j
To install the Neo4j Community Edition:
sudo yum install neo4j
To install the Neo4j Enterprise Edition:
sudo yum install neo4j-enterprise
If you have any questions, please ask on Stack Overflow
Installing other versions
By default you will install the latest Neo4j version. The repository also contains older versions. You can list the available versions with this command:
yum search --showduplicates neo4j
To install a specific version:
The full version number must be specified, including major, minor and patch version.
For example, to install Neo4j Community 3.5.5:
sudo yum install neo4j-3.5.5
For example, to install Neo4j Enterprise 4.0.0:
sudo yum install neo4j-enterprise-4.0.0