Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions modules/ROOT/pages/installation/linux/rpm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,42 @@ Installation instructions can be found on the manufacturer's website:
[[linux-rpm-install-standard]]
=== Set up the repository

To add the Neo4j repository to the package manager, run the following command as a sudo user:

. Import the Neo4j GPG public key into the system’s RPM keyring.
The key is required to verify the authenticity of the Neo4j packages you will install.
+
[source, shell, subs="attributes"]
----
rpm --import https://debian.neo4j.com/neotechnology.gpg.key
----

Create a `neo4j.repo` file:

. Create a `neo4j.repo` file in the `/etc/yum.repos.d/` directory.
This file contains the repository configuration for Neo4j.
+
[source, shell, subs="attributes"]
----
cat << EOF > /etc/yum.repos.d/neo4j.repo
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
----

+
[NOTE]
====
If you are upgrading from Neo4j 5.x or earlier, you may need to clear the package manager cache before Neo4j packages become available:

`yum clean dbcache`
====

. Verify that the Neo4j repository is set up correctly by listing the available Neo4j packages versions:
+
[source, shell]
----
yum list neo4j --showduplicates
----

=== Install Neo4j

Install Neo4j as `root` using the following commands depending on which edition you are using:
Expand Down