You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/installation/linux/debian.adoc
+65-43Lines changed: 65 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ You can install Neo4j on Debian, and Debian-based distributions like Ubuntu, usi
8
8
== Java prerequisites
9
9
10
10
Neo4j {neo4j-version} requires the Java 21 runtime.
11
+
Starting with Neo4j 2025.10, Java 25 is also supported.
11
12
12
13
=== OpenJDK Java 21
13
14
Most of our supported Linux distributions have OpenJDK Java 21 available by default.
@@ -17,7 +18,7 @@ Consequently, no extra setup is required if you are using OpenJDK Java, the corr
17
18
=== Oracle JDK, Zulu JDK, or Corretto JDK
18
19
19
20
If you wish to use a non-default JDK, it must be installed before starting the Neo4j installation.
20
-
Otherwise, your package manager will install the default Java distribution for your operating system, usually OpenJDK.
21
+
Otherwise, your package manager installs the default Java distribution for your operating system, usually OpenJDK.
21
22
22
23
Java download and installation instructions can be found on the manufacturer's website:
23
24
@@ -28,7 +29,7 @@ Java download and installation instructions can be found on the manufacturer's w
28
29
[[multiple-java-versions]]
29
30
=== Dealing with multiple installed Java versions
30
31
31
-
You must configure your default Java version to point to Java 21, or Neo4j {neo4j-version-exact} will be unable to start.
32
+
You must configure your default Java version to point to Java 21 or Java 25 (starting with Neo4j 2025.10), or Neo4j {neo4j-version-exact} will be unable to start.
32
33
Do so with the `update-java-alternatives` command.
33
34
34
35
. List all your installed versions of Java with `update-java-alternatives --list`.
@@ -39,13 +40,15 @@ Your results may vary, but this is an example of the output:
To install Neo4j, run one of the following commands depending on which version you want to install:
99
+
To install Neo4j, run one of the following commands depending on which version you want to install.
100
+
Note that the version includes an epoch version component (`1:`), following the https://www.debian.org/doc/debian-policy/[Debian policy on versioning].
Note that the version includes an epoch version component (`1:`), following the https://www.debian.org/doc/debian-policy/[Debian policy on versioning].
113
-
114
-
When installing Neo4j Enterprise Edition, you will be prompted to accept the license agreement.
115
-
Once the license agreement is accepted installation begins.
115
+
+
116
+
You will be prompted to accept either the commercial or the evaluation license agreement before the installation begins.
116
117
Your answer to the license agreement prompt will be remembered for future installations on the same system.
117
-
118
+
+
118
119
To forget the stored answer, and trigger the license agreement prompt on subsequent installation, use `debconf-communicate` to purge the stored answer:
==== Non-interactive installation of Neo4j Enterprise Edition
127
-
128
-
For Neo4j Enterprise Edition, the license agreement is presented in an interactive prompt.
125
+
+
129
126
If you require non-interactive installation of Neo4j Enterprise Edition, you can indicate that you have read and accepted the license agreement using `debconf-set-selections`:
@@ -140,39 +137,39 @@ If you cannot reach `https://debian.neo4j.com`, perhaps due to a firewall, you n
140
137
141
138
[NOTE]
142
139
====
143
-
It is important to note that using this method will mean that the offline machine will not receive the dependencies that are normally downloaded and installed automatically when using `apt` for installing Neo4j; xref:cypher-shell.adoc[Cypher Shell] and Java (if not installed already):
140
+
It is important to note that using this method means that the offline machine will not receive the dependencies that are normally downloaded and installed automatically when using `apt` for installing Neo4j, xref:cypher-shell.adoc[Cypher Shell], and Java (if not installed already):
144
141
145
142
* The Cypher Shell package can be downloaded from link:{neo4j-download-center-uri}[Neo4j Deployment Center].
146
143
* For information on supported versions of Java, see xref:installation/requirements.adoc[System requirements].
147
144
====
148
145
149
146
. Run the following to download the required Debian software package:
You are now connected and can use the Aura Console to run Cypher queries, visualize graphs, and optionally monitor your local Neo4j database in Neo4j Aura.
239
+
For details, see link:https://neo4j.com/docs/getting-started/#_work_with_data[Get started with Neo4j].
240
+
241
+
Alternatively, you can use the Neo4j Browser, a web-based user interface for interacting with Neo4j that is included with the Neo4j installation.
242
+
To access the Neo4j Browser, open a web browser and navigate to _\http://localhost:7474_.
243
+
Connect using the username `neo4j` with your password or the default password `neo4j`.
244
+
If the default password is used, you will be prompted to change it upon first login.
245
+
224
246
== Uninstall Neo4j
225
247
226
248
Follow these steps to uninstall Neo4j:
227
249
228
250
. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
229
-
. Uninstall Neo4j:
251
+
. Uninstall Neo4j by running the following command:
You are now connected and can use the Aura Console to run Cypher queries, visualize graphs, and optionally monitor your local Neo4j database in Neo4j Aura.
251
+
For details, see link:https://neo4j.com/docs/getting-started/#_work_with_data[Get started with Neo4j].
252
+
253
+
Alternatively, you can use the Neo4j Browser, a web-based user interface for interacting with Neo4j that is included with the Neo4j installation.
254
+
To access the Neo4j Browser, open a web browser and navigate to _\http://localhost:7474_.
255
+
Connect using the username `neo4j` with your password or the default password `neo4j`.
256
+
If the default password is used, you will be prompted to change it upon first login.
0 commit comments