Using apt-get to download a specific Neo4j debian package

unix
installation
knowledge-base
enterprise

(David Gordon) #1

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:

root@neo4j:~# apt-cache madison neo4j
 neo4j | 2.2.4 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.2.3 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.2.2 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.2.1 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.2.0 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.8 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.7 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.6 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.5 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.4 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.3 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.2 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.1 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.1.0 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.0.4 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.0.3 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.0.2 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.0.1 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 2.0.0 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.9.5 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.9.4 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.9.2 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.9.1 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.9 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.8.2 | http://debian.neo4j.org/repo/ stable/ Packages
 neo4j | 1.8.1 | http://debian.neo4j.org/repo/ stable/ Packages

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

# Enterprise:

root@neo4j:~# apt-get install neo4j-enterprise=2.3.0
# Community:

root@neo4j:~# apt-get install neo4j=2.3.0