How to install apoc for neo4j?
I'm using Red Hat Linux specifically Oracle-7 and here is how I got it working
- Download the
apoc-<version>.jar
into the/var/lib/neo4j/plugins
directory chown neo4j:neo4j apoc-<version>.jar
chmod 755 apoc-<version>.jar
- Open the neo4j.conf at
/etc/neo4j/neo4j.conf
and replace the line#dbms.security.procedures.whitelist=apoc.coll.*,apoc.load.*
withdbms.security.procedures.whitelist=apoc.coll.*,apoc.load.*,apoc.*
and save it. - Restart the Neo4j service by issuing the command
systemctl restart neo4j
Note: Make sure that you have the right version of apoc jar downloaded. I'm using the neo4j version 3.5.5
and the apoc jar version I'm using is apoc-3.5.0.3-all.jar
. Alos make sure that you have the dbms.directories.plugins=/var/lib/neo4j/plugins
uncommented in the /etc/neo4j/neo4j.conf
If you installed neo4j using a Windows or Mac installer (which most people do), and not from a zip or tar file, then the plugins
folder should be in your database folder, not in your neo4j installation folder.
Here is a related answer with a little more detail: https://stackoverflow.com/a/42357481/974731.