Skip to content

Commit 14bdb81

Browse files
committed
updated 5.26 linux install instructions to move the repository links
1 parent 67e440e commit 14bdb81

File tree

2 files changed

+2
-53
lines changed

2 files changed

+2
-53
lines changed

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

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ You can install Neo4j on Debian, and Debian-based distributions like Ubuntu, usi
88
== Java prerequisites
99

1010
Neo4j {neo4j-version} requires the Java 17 runtime.
11-
Java 17 is not included in Ubuntu 16.04 LTS and will have to be set up manually before installing or upgrading to Neo4j {neo4j-version}, as described below.
12-
Debian 11 and Ubuntu 18.04 onwards already have the OpenJDK Java 17 package available through `apt`.
11+
1312
From version 5.14 onwards, Neo4j also supports JDK 21.
1413

1514
[[debian-prerequisites-notopenjdk]]
@@ -25,21 +24,6 @@ Download and installation instructions can be found on the manufacturer's websit
2524
* https://aws.amazon.com/corretto[Amazon Corretto JDK]
2625

2726

28-
[[ubuntu-java17]]
29-
=== OpenJDK 17 on Ubuntu 16.04
30-
31-
Add the official OpenJDK package repository to `apt`:
32-
33-
[source, shell]
34-
----
35-
sudo add-apt-repository -y ppa:openjdk-r/ppa
36-
sudo apt-get update
37-
----
38-
39-
You are now ready to install Neo4j, which will install Java 17 automatically if it is not already installed.
40-
See xref:installation/linux/debian.adoc#multiple-java-versions[Dealing with multiple installed Java versions] to make sure you can start Neo4j after installation.
41-
42-
4327
[[multiple-java-versions]]
4428
=== Dealing with multiple installed Java versions
4529

@@ -88,22 +72,10 @@ The Debian package is available from https://debian.neo4j.com.
8872
[source, shell]
8973
----
9074
wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/neotechnology.gpg
91-
echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
92-
sudo apt-get update
93-
----
94-
+
95-
To avoid the risk of the `apt` package manager accidentally forcing a database upgrade, different major and minor releases of Neo4j are also available separately inside the repository.
96-
To install Neo4j this way, specify the major and minor version required, in place of `latest`.
97-
+
98-
The following method for production or business-critical installations is recommended:
99-
+
100-
[source, shell, subs="attributes"]
101-
----
102-
wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/neotechnology.gpg
10375
echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable {neo4j-version}' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
10476
sudo apt-get update
10577
----
106-
78+
+
10779
. Once the repository has been added to `apt`, you can verify which Neo4j versions are available by running:
10880
+
10981
[source, shell]

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,6 @@ Neo4j 5.x runs on Java 17, and from Neo4j 5.14, it also supports Java 21.
1414
Most of our supported Linux distributions have OpenJDK Java 17 available by default.
1515
Consequently, no extra setup is required if you are using OpenJDK Java, the correct Java dependency will be installed by the package manager when installing Neo4j.
1616

17-
18-
[[linux-rpm-prerequisites-oracle]]
19-
=== Oracle Java 17
20-
There is some minor setup required for compatibility with Oracle Java 17 because Oracle and OpenJDK provide incompatible RPM packages for Java 17.
21-
22-
You can use an adapter for Oracle Java 17, which must be installed before Neo4j.
23-
The adapter contains no code but stops the package manager from installing OpenJDK 17 as a dependency despite an existing Oracle Java 17 installation.
24-
25-
. Download and install the Oracle Java 17 JDK from the https://www.oracle.com/technetwork/java/javase/downloads/index.html[Oracle website].
26-
. Install the adapter:
27-
+
28-
[source, shell]
29-
----
30-
sudo yum install https://dist.neo4j.org/neo4j-java17-adapter.noarch.rpm
31-
----
32-
+
33-
The SHA-256 of the adapter package can be verified against https://dist.neo4j.org/neo4j-java17-adapter.noarch.rpm.sha256.
34-
3517
=== Zulu JDK 17 or Corretto 17
3618

3719
If you want to use a non-default JDK, it must be installed before starting the Neo4j installation.
@@ -179,11 +161,6 @@ curl -O https://dist.neo4j.org/rpm/neo4j-enterprise-{neo4j-version-exact}-1.noar
179161
. Manually move the downloaded RPM packages to the offline machine.
180162
Before installing Neo4j, you must manually install the required Java 17 packages.
181163
+
182-
[NOTE]
183-
====
184-
If using Oracle Java 17, the same dependency issues apply as with the xref:installation/linux/rpm.adoc#linux-rpm-prerequisites-oracle[Oracle Java prerequisites].
185-
You will need to additionally download and install the Java adaptor described in that section.
186-
====
187164
. Install Neo4j and Cypher Shell as `root` using the following command depending on which edition you are using:
188165
+
189166
[NOTE]

0 commit comments

Comments
 (0)