You must update the apt-get repository:
Ubuntu 12.04 Precise Pangolin (Debian unstable)
Also compatible with recent versions, which have
libevent2.
shell> sudo wget -O/etc/apt/sources.list.d/couchbase.list \ http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list
Ubuntu 11.10 Oneiric Ocelot (Debian unstable)
Also compatible with recent versions, which have
libevent2.
shell> sudo wget -O/etc/apt/sources.list.d/couchbase.list \ http://packages.couchbase.com/ubuntu/couchbase-ubuntu1110.list
Ubuntu 10.04 Lucid Lynx (Debian stable or testing)
shell> sudo wget -O/etc/apt/sources.list.d/couchbase.list \ http://packages.couchbase.com/ubuntu/couchbase-ubuntu1004.list
Also make sure you have the GPG key installed:
shell> wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -Then to install libcouchbase itself run:
shell> sudo apt-get update shell> sudo apt-get install libcouchbase2 libcouchbase-dev