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.
The following instructions were tested on Linux Mint 16.
Add the RethinkDB repository to your list of
repositories and then install via
echo "deb http://download.rethinkdb.com/apt saucy main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
echo "deb http://download.rethinkdb.com/apt trusty main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
echo "deb http://download.rethinkdb.com/apt xenial main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - sudo apt-get update sudo apt-get install rethinkdb
If you followed the above instructions before July 2017 and want to upgrade to a newer version of RethinkDB, you will need to first download the new key (0742918E5C8DA04A):
$ wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -v -"
Install the dependencies:
sudo apt-get install build-essential protobuf-compiler python \ libprotobuf-dev libcurl4-openssl-dev \ libboost-all-dev libncurses5-dev \ libjemalloc-dev wget m4
Download and extract the archive:
wget https://download.rethinkdb.com/dist/rethinkdb-2.3.6.tgz tar xf rethinkdb-2.3.6.tgz
Kick off the build process:
cd rethinkdb-2.3.6 ./configure --allow-fetch make sudo make install
If you’re compiling on a multicore or multiprocessor machine, you may
be able to use
make -j # to speed up the build process, where ‘#’ is
the total number of CPU cores. (On a 4-core machine, you can use
-j 4.) However, some older versions of
make will produce a
segmentation fault error when using
-j with RethinkDB; if that
happens, just run
make without the
Next steps: Now that you’ve installed RethinkDB, it’s time to install client drivers for your language.