Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing CouchDB 2.1 on Ubuntu Server 16.04

Does anyone know how to install CouchDB on Ubuntu Server 16.04?

The manual in the CouchDB docs seems to be broken and a simple apt-get install couchdbresults in Version 1.6.1.

like image 372
Bernd Avatar asked Sep 01 '17 16:09

Bernd


2 Answers

This will install CouchDB 2.1:

  1. Add "deb https://apache.bintray.com/couchdb-deb xenial main" to /etc/apt/sources.list using your favorite editor
  2. Add the public key to apt:

    curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -

  3. Depending on your setup you may need to install https for apt

    sudo apt-get install apt-transport-https

  4. Update apt and install!

    sudo apt-get update && sudo apt-get install couchdb

like image 192
MadPink Avatar answered Oct 03 '22 23:10

MadPink


Try the snap for CouchDB, there isn't an apt package for CouchDB 2.1 yet. http://docs.couchdb.org/en/latest/install/snap.html. (If this is what you already tried from the manual and it didn't work, share any error messages you received)

like image 34
Lorna Mitchell Avatar answered Oct 03 '22 22:10

Lorna Mitchell