是否可以通过 apt-get 安装 couchdb 2.x?
is it possible to install couchdb 2.x via apt-get?
这可能是一个新手问题,但是否可以通过 apt-get 安装 couchdb 2.x?
当我 apt-get install couchdb -y
我总是得到版本 1.6.x
apt-cache policy couchdb
给我:
couchdb:
Installed: (none)
Candidate: 1.6.0-0ubuntu7
Version table:
1.6.0-0ubuntu7 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
谢谢
可以,但是您需要使用项目自己的包存储库(据我所知,CouchDB 的版本不会在主存储库中更新)。您可以在此处 http://docs.couchdb.org/en/master/install/unix.html 找到有关如何添加存储库和安装包的说明(警告,请先删除现有的 couchdb 安装。数据应该可以正常运行,无需任何迁移步骤,但无论如何请确保您有备份)
好的,我找到了解决方案。之前基本回答过这个:
有多种方法。
对我有用的是来自 MadPink 的那个:
- 使用您喜欢的编辑器将 "deb https://apache.bintray.com/couchdb-deb xenial main" 添加到
/etc/apt/sources.list
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update && sudo apt-get install couchdb
这可能是一个新手问题,但是否可以通过 apt-get 安装 couchdb 2.x?
当我 apt-get install couchdb -y
我总是得到版本 1.6.x
apt-cache policy couchdb
给我:
couchdb:
Installed: (none)
Candidate: 1.6.0-0ubuntu7
Version table:
1.6.0-0ubuntu7 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
谢谢
可以,但是您需要使用项目自己的包存储库(据我所知,CouchDB 的版本不会在主存储库中更新)。您可以在此处 http://docs.couchdb.org/en/master/install/unix.html 找到有关如何添加存储库和安装包的说明(警告,请先删除现有的 couchdb 安装。数据应该可以正常运行,无需任何迁移步骤,但无论如何请确保您有备份)
好的,我找到了解决方案。之前基本回答过这个:
有多种方法。 对我有用的是来自 MadPink 的那个:
- 使用您喜欢的编辑器将 "deb https://apache.bintray.com/couchdb-deb xenial main" 添加到
/etc/apt/sources.list
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update && sudo apt-get install couchdb