How To Install neo4j-client on Debian 9
Introduction
In this tutorial we learn how to install neo4j-client
on Debian 9.
What is neo4j-client
neo4j-client is:
Neo4j is a Graph Database with an open-source, community licensed server.
neo4j-client supports secure connections to Neo4j server, sending of statements (including multiline statements), persistent command history, and rendering of results to tables or CSV.
There are three methods to install neo4j-client
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install neo4j-client Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install neo4j-client
using apt-get
by running the following command:
sudo apt-get -y install neo4j-client
Install neo4j-client Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install neo4j-client
using apt
by running the following command:
sudo apt -y install neo4j-client
Install neo4j-client Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install neo4j-client
using aptitude
by running the following command:
sudo aptitude -y install neo4j-client
How To Uninstall neo4j-client on Debian 9
To uninstall only the neo4j-client
package we can use the following command:
sudo apt-get remove neo4j-client
Uninstall neo4j-client And Its Dependencies
To uninstall neo4j-client
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove neo4j-client
Remove neo4j-client Configurations and Data
To remove neo4j-client
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge neo4j-client
Remove neo4j-client configuration, data, and all of its dependencies
We can use the following command to remove neo4j-client
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge neo4j-client
Dependencies
neo4j-client have the following dependencies:
References
Summary
In this tutorial we learn how to install neo4j-client
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.