知识库

使用 apt 下载特定的 Neo4j debian 软件包

默认情况下,使用 apt-get 安装 Neo4j 时只能获取当前和上一版的稳定发行版。不过,如果你想安装更早的版本,可以手动指定。

供参考,Debian 仓库位于此处:http://debian.neo4j.org/

在命令行中,以 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

从可用的包中选择,并决定是安装 Enterprise(企业版)还是 Community(社区版)。例如安装 neo4j 3.5.5

企业版 (Enterprise)
$ apt-get install neo4j-enterprise=1:3.5.5
社区
$ apt-get install neo4j=3.5.5

如需了解更多信息,可参考产品文档的以下章节:在 Debian 与基于 Debian 的发行版上安装 Neo4j

© . This site is unofficial and not affiliated with Neo4j, Inc.