Install RethinkDB on Raspbian

Looking for another platform? See the complete list of platforms RethinkDB supports.

This platform is community supported. These instructions were provided by the community, and have not been thoroughly tested. If you run into problems let us know and we’ll improve the documentation.

These instructions were updated before the 2.3.7 release, but have not been tested.

Compile from source

Get the build dependencies

Install the main dependencies:

sudo apt-get install g++ protobuf-compiler libprotobuf-dev \
                     libboost-dev curl m4 wget libssl-dev

Prepare the raspberrypi

Building RethinkDB require more memory than what is available on a Raspberry Pi. Make sure you have a SWAP partition of at least 1GB.

Make also sure that you have at least 1GB available on your SD card.

Get the source code

Download and extract the archive:

wget https://download.rethinkdb.com/repository/raw/dist/rethinkdb-2.4.4.tgz
tar xf rethinkdb-2.4.4.tgz

Build RethinkDB

Kick off the build process:

cd rethinkdb-2.4.4
./configure --allow-fetch CXX=clang++
sudo make install

Next steps: Now that you’ve installed RethinkDB, it’s time to install client drivers for your language.