Ubuntu - trying to install Python Couchbase lib - "libcouchbase/couchbase.h: No such file or directory"

Try this: http://docs.couchbase.com/couchbase-sdk-c-2.3/#downloading-the-couchbase-client-library

So if you have Ubuntu 12.04:

  1. sudo wget -O/etc/apt/sources.list.d/couchbase.list http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list
  2. wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
  3. sudo apt-get update
  4. sudo apt-get install libcouchbase2-libevent libcouchbase-dev

Updated solution for Ubuntu 18.04

  1. echo "deb http://packages.couchbase.com/ubuntu bionic bionic/main" | sudo tee /etc/apt/sources.list.d/couchbase.list
  2. wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
  3. sudo apt-get update
  4. sudo apt-get install libcouchbase2-libevent libcouchbase-dev