Install CouchDB on Ubuntu 12.04

Click the “Dash Home” icon in the upper left hand corner of the screen, just below “Ubuntu Desktop” and type “Terminal”. Click the Terminal icon when it appears.

In Terminal’s window, type in the following commands:

sudo apt-get install python-software-properties

sudo apt-add-repository ppa:couchdb/stable

sudo apt-get update

sudo apt-get install couchdb couchdb-bin couchdb-common -f

To navigate to where CouchDB database files are stored:

cd /var/lib/CouchDB



sudo chown -R couchdb:couchdb /home/adam/Desktop/couchdb

sudo chown -R adam:adam /home/adam/Desktop/couchdb

sudo chown -R adam:adam /var/lib/couchdb

To get Debian version from command line:

cat /etc/debian_version

Leave a Reply