Knowledge Base

Using apt to download a specific Neo4j debian package

By default, using apt-get to install Neo4j allows you to grab the current and previous stable releases. However, if you would like to install an older version, you can specify that.

For reference, the Debian repo is located here: http://debian.neo4j.org/

From the command line, run the following as root:

$ apt-cache madison neo4j
     neo4j |    1:3.5.5 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.5.4 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.5.3 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.5.2 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.5.1 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.5.0 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |   1:3.4.13 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |   1:3.4.12 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |   1:3.4.11 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |   1:3.4.10 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.9 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.8 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.7 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.6 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.5 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.4 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.3 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.2 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.1 | https://debian.neo4j.org/repo stable/ Packages
     neo4j |    1:3.4.0 | https://debian.neo4j.org/repo stable/ Packages

Choose from the available packages, and decide whether you want Enterprise or Community. To install neo4j 3.5.5:

Enterprise
$ apt-get install neo4j-enterprise=1:3.5.5
Community
$ apt-get install neo4j=3.5.5

For more information, you can refer to the following section of the product documentation: Install Neo4j on Debian and Debian-based distributions.