Created
December 7, 2012 12:58
-
-
Save abulte/4233098 to your computer and use it in GitHub Desktop.
Build RethinkDB on Debian Wheezy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# <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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could also remove npm, I guess...