Reputation: 326
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
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:
trusty
xenial
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