• This is the terminal command to install RethinkDB in Ubuntu 16.04LTS.
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME 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