How to install APOC in Neo4j community created in Azure VM?

I have a Neo4j VM running in Azure but APOC is not installed.

I can ssh the VM with Putty but I don't know what can I to do to install APOC in the VM ?

I don't know what commands I have to enter and I don't find something in internet that explain it.

In the documentation I saw this: Installation - APOC Extended Documentation

Go to the latest release for Neo4j version 4.1 and download the binary jar to place into your $NEO4J_HOME/plugins folder.

But I don't know how to do it with ssh.

Version: 4.1.3
Edition: Community

Operating system: Linux (ubuntu 18.04)

1 Like

depending on what you need to do with APOC you might simply want to do the following on your 4.1 installation

mv $NEO4J_HOME/labs/apoc- $NEO4J_HOME/plugins/

replacing $NEO4J_HOME with the respective path.

Then modify the $NEO4J_HOME/conf/neo4j.conf and add*

And then restart Neo4j. After restarting and connecting via bin/cypher-shell and running

call dbms.procedures() yield name;

you should see a number of APOC stored procs.

With Neo4j 4.x a number of the more common stored procs that we part of APOC have now been added to 'labs/apoc.*-core.jar`

more details can be had at Installation - APOC Extended Documentation

1 Like

Thank you @dana.canzano

also my initial response sort of circumvents the initial problem. if you have ssh access then presumably you should be able to winscp (WinSCP :: Official Site :: Free SFTP and FTP client for Windows ) the apoc jar from your desktop to the Azure instance.