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 after the 1.16 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/dist/rethinkdb-2.3.6.tgz
tar xf rethinkdb-2.3.6.tgz

Build RethinkDB

Kick off the build process:

cd rethinkdb-2.3.6
./configure --with-system-malloc --allow-fetch
make ALLOW_WARNINGS=1
sudo make install ALLOW_WARNINGS=1

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