Upgrade default install of CouchDB on Ubuntu 10.04
772
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?
Couchdb installs very nicely and fairly easily on Ubuntu 10.04.
Copy your database files somewhere else. They are probably in /var/lib/couchdb.
Copy your /etc/couchdb/local.ini file (if you've changed it at all) somewhere else.
use apt-get to remove the couchdb packages.
make sure that all of files installed by the packages are removed. If you don't do this you may get strange errors later.
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.
Copy your database files back into /var/lib/couchdb and put any changes back into the local.ini file and restart couchdb
Couchdb installs very nicely and fairly easily on Ubuntu 10.04.
On the CouchDB wiki there are instructions for building 0.11 from source.
Installing on Ubuntu