A.K.
A.K.

Reputation: 326

How to install couchdb version 2.3.0

I am following this guide to install couchDB on Ubuntu 16.04. Everytime I tried, it installs only version 1.6.0. I tried installing and unstalling many time but it is not updating and I am getting only above official guide to install it.

What is the way to install the latest version?

Upvotes: 0

Views: 556

Answers (1)

Enno
Enno

Reputation: 271

You need to tell Ubuntu about the official CouchDB repository:

echo "deb https://apache.bintray.com/couchdb-deb xenial main" | sudo tee -a /etc/apt/sources.list

Be sure to set your distribution correctly, in the above replace xenial with what matches your distribution:

  • Ubuntu 14.04: trusty
  • Ubuntu 16.04: xenial
  • Ubuntu 18.04: bionic

You then also need to trust the new repository, by adding its public key to apt:

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

Then you can install CouchDB with apt:

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

See official CouchDB install instructions.

Upvotes: 1

Related Questions