Install RethinkDB on Linux Mint

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.

With binaries

Add the RethinkDB repository to your list of repositories and then install via apt-get:

Linux Mint 16

echo "deb https://download.rethinkdb.com/repository/ubuntu-saucy saucy main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list

Linux Mint 17

echo "deb https://download.rethinkdb.com/repository/ubuntu-trusty trusty main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list

Linux Mint 18

echo "deb https://download.rethinkdb.com/repository/ubuntu-xenial xenial main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list

Install RethinkDB

wget -qO- https://download.rethinkdb.com/repository/raw/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/repository/raw/pubkey.gpg | sudo apt-key add -v -

Compile from source

Get the build dependencies

Install the dependencies (use python on older systems – Python 2 works):

sudo apt-get install build-essential protobuf-compiler \
                     python3 python-is-python3 \
                     libprotobuf-dev libcurl4-openssl-dev \
                     libboost-all-dev m4 g++ libssl-dev \
                     libjemalloc-dev

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 the server

Kick off the build process:

cd rethinkdb-2.4.4
./configure --allow-fetch --fetch boost
make -j8
sudo make install

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