Skip to content

Commit

Permalink
Add uninstallation steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiazuin committed Jan 15, 2024
1 parent beffc70 commit b41c507
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/ROOT/pages/installation/linux/debian.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,16 @@ For more information, see xref:configuration/set-initial-password.adoc[].
====

For more information on operating the Neo4j system service, see xref:installation/linux/systemd.adoc[Neo4j system service].

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].

Follow these steps to uninstall Neo4j on Linux from a tarball:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Use the preferred package manager and write:
[source]
---
sudo dpkg -r neo4j
---
14 changes: 14 additions & 0 deletions modules/ROOT/pages/installation/linux/rpm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,17 @@ For more information, see xref:configuration/set-initial-password.adoc[].
====

For more information on operating the Neo4j system service, see xref:installation/linux/systemd.adoc[Neo4j system service].

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].

Follow these steps to uninstall Neo4j:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Use the preferred package manager and write:

[source]
---
yum remove <NEO4J HOME>
---
14 changes: 14 additions & 0 deletions modules/ROOT/pages/installation/linux/tarball.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,17 @@ sudo systemctl daemon-reload
----

. Reboot your machine.

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].

Follow these steps to uninstall Neo4j on Linux:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Using the preferred package manager, write:

[source]
---
rm -rf <NEO4J HOME>
---
10 changes: 10 additions & 0 deletions modules/ROOT/pages/installation/osx.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,13 @@ server.jvm.additional=-XX:-MaxFDLimit
Without this setting, the file descriptor limit for the JVM will not be increased beyond 10240.
Note, however, that this only applies to macOS.
On all other operating systems, you should always leave the `MaxFDLimit` JVM setting enabled.

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].

Here are the steps to uninstall Neo4j on macOS:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Delete the _Neo4j Desktop.app_ from the Applications folder.
. Delete the _~/Library/Application Support/Neo4j Desktop_ and _~/.neo4j_ folders.
30 changes: 30 additions & 0 deletions modules/ROOT/pages/installation/windows.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,33 @@ Invoke-Neo4jAdmin
=== Common PowerShell parameters

The module commands support the common PowerShell parameter of `Verbose`.

== Uninstall Neo4j

In case you want to specifically remove Neo4j Desktop, refer to https://neo4j.com/docs/desktop-manual/current/troubleshooting/re-install/[Neo4j Desktop -> Re-installation of Desktop].

Here are the steps to uninstall Neo4j on Windows:

. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
. Stop all Neo4j processes by using the Task Manager.
. If you have Neo4j Desktop installed, uninstall it via _Control Panel -> Programs_.
. Make sure the folder _\Program Files\Neo4j Desktop_ no longer exists.
. Delete all files in _\%USERPROFILE%.Neo4jDesktop_.
. In a command window, write:
[source, shell]
---
powershell
(get-host).version
exit
---
+
[NOTE]
====
Make sure that your system PATH includes `\windows\system32\wbem :` and that you have Powershell installed.
====
. In a command window, write:
[source, shell]
---
echo %PATH%
---
. Restart your system.

0 comments on commit b41c507

Please sign in to comment.