Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
couchbase debian wheezy python client
# to Couchbase: please release Debian binaries
# to end users: save yourself an afternoon. below works on fresh Debian Wheezy 7.0.0-2 amd64
# author
# license bsd
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential python-dev python-pip libevent-dev openjdk-7-jre curl unzip
tar -xzf libcouchbase-2.3.2.tar.gz
cd libcouchbase-2.3.2
./configure && make && sudo make install
cd ..
tar -xzf couchbase-1.2.2.tar.gz
cd couchbase-1.2.2
python build_ext --inplace --library-dir /usr/local/lib --include-dir /usr/local/include
sudo python install
sudo ldconfig /usr/local/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment