Skip to content

Commit 4f21a16

Browse files
committed
Update the Set up the repository for Linux rpm
1 parent fa28fdd commit 4f21a16

File tree

1 file changed

+15
-6
lines changed
  • modules/ROOT/pages/installation/linux

1 file changed

+15
-6
lines changed

modules/ROOT/pages/installation/linux/rpm.adoc

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,42 @@ Installation instructions can be found on the manufacturer's website:
3131
[[linux-rpm-install-standard]]
3232
=== Set up the repository
3333

34-
To add the Neo4j repository to the package manager, run the following command as a sudo user:
35-
34+
. Import the Neo4j GPG public key into the system’s RPM keyring.
35+
The key is required to verify the authenticity of the Neo4j packages you will install.
36+
+
3637
[source, shell, subs="attributes"]
3738
----
3839
rpm --import https://debian.neo4j.com/neotechnology.gpg.key
3940
----
4041

41-
Create a `neo4j.repo` file:
42-
42+
. Create a `neo4j.repo` file in the `/etc/yum.repos.d/` directory.
43+
This file contains the repository configuration for Neo4j.
44+
+
4345
[source, shell, subs="attributes"]
4446
----
45-
cat << EOF > /etc/yum.repos.d/neo4j.repo
47+
cat <<EOF > /etc/yum.repos.d/neo4j.repo
4648
[neo4j]
4749
name=Neo4j RPM Repository
4850
baseurl=https://yum.neo4j.com/stable/latest
4951
enabled=1
5052
gpgcheck=1
5153
EOF
5254
----
53-
55+
+
5456
[NOTE]
5557
====
5658
If you are upgrading from Neo4j 5.x or earlier, you may need to clear the package manager cache before Neo4j packages become available:
5759
5860
`yum clean dbcache`
5961
====
6062

63+
. Verify that the Neo4j repository is set up correctly by listing the available Neo4j packages versions:
64+
+
65+
[source, shell]
66+
----
67+
yum list neo4j --showduplicates
68+
----
69+
6170
=== Install Neo4j
6271

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

0 commit comments

Comments
 (0)