Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've installed ubuntu 10.04 LTS, and ran apt-get install couchdb. This installed 0.10.0, however the newest is 0.11.0 and I would like to install that from source.

What's the appropriate way of upgrading the current install to the newest version?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Couchdb installs very nicely and fairly easily on Ubuntu 10.04.

  1. Copy your database files somewhere else. They are probably in /var/lib/couchdb.
  2. Copy your /etc/couchdb/local.ini file (if you've changed it at all) somewhere else.
  3. use apt-get to remove the couchdb packages.
  4. make sure that all of files installed by the packages are removed. If you don't do this you may get strange errors later.
  5. then follow the instructions on the Installing on Ubuntu page Eric Edin linked to. You will need to make the adjustments mentioned for 10.04, and the bit about /etc/ld.so.conf.d/xulrunner.conf toward the bottom.
  6. Copy your database files back into /var/lib/couchdb and put any changes back into the local.ini file and restart couchdb
share|improve this answer

On the CouchDB wiki there are instructions for building 0.11 from source.

Installing on Ubuntu

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.