Skip to content

Instantly share code, notes, and snippets.

@abulte
Created December 7, 2012 12:58
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abulte/4233098 to your computer and use it in GitHub Desktop.
Save abulte/4233098 to your computer and use it in GitHub Desktop.
Build RethinkDB on Debian Wheezy
# <http://www.rethinkdb.com/docs/build/>
sudo apt-get install g++ protobuf-compiler protobuf-c-compiler libprotobuf-dev \
libprotobuf-c0-dev libboost-dev libssl-dev libv8-dev libboost-program-options-dev \
libgoogle-perftools-dev jsdoc-toolkit libprotoc-dev curl exuberant-ctags m4 \
rubygems
# *carefully note all packages installed!!*
mkdir ~/tmp && cd ~/tmp
wget http://nodejs.org/dist/v0.8.15/node-v0.8.15.tar.gz
tar xvfz node-v0.8.15.tar.gz
cd node-v0.8.15
./configure
make
sudo make install
# verify npm is installed / works
npm -v
sudo npm install -g less coffee-script
sudo gem install ruby_protobuf
cd ~/tmp
git clone --depth 1 -b next https://github.com/rethinkdb/rethinkdb.git
cd rethinkdb/src
make DEBUG=0
# verify rethinkdb works
./../build/release/rethinkdb
# remove unnecessary dependencies
sudo apt-get remove <everything previously installed but libv8-3.8.9.20>
@abulte
Copy link
Author

abulte commented Dec 7, 2012

You could also remove npm, I guess...

@abulte
Copy link
Author

abulte commented Dec 20, 2012

In fact, Ubuntu install works on Debian 6+
http://www.rethinkdb.com/docs/install/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment