How To Install RethinkDB on Ubuntu 20.04 LTS

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"

Hello, friends. We have been talking a lot about database because it is an important topic in every application. Well, today you will learn how to install RethinkDB in Ubuntu 20.04 without so much effort.

What is RethinkDB?

RethinkDB is an open source, multi-platform, NoSQL, JSON document-oriented database driver that is defined as ideal for real-time web applications.

A great feature of RethinkDB is that it has official drivers for many programming languages. This means that we can use it in many projects.

In addition to this, it has a web interface to manage data quickly and is compatible with many operating systems. Including Ubuntu 20.04

So let’s go for it.

Install RethinkDB

As good as this application is, it is not included in the official repositories of Ubuntu 20.04. However, we can install it quickly and easily.

First, access the server and update it in the following way

apt update
apt upgrade

RethinkDB has an external repository where we can easily have available the latest stable version of the tool. So, we have to add it to the system with the following command:

echo "deb focal main" | tee /etc/apt/sources.list.d/rethinkdb.list

Then, add the GPG key of it

wget -qO- | apt-key add -

And to apply the changes, you have to refresh the system repositories.

sudo apt update

Thereafter, you can install RethinkDB by running

sudo apt install rethinkdb
1.- Install Rethink on Ubuntu 20.04
1.- Install Rethink on Ubuntu 20.04

When the installation is finished, you will have to enable it and start it.

systemctl start rethinkdb 
systemctl enable rethinkdb

Finally, it is a good idea to check the status of the service.

systemctl status rethinkdb
2.- Rethink status service
2.- Rethink status service

After this, you have to start running RethinkDB by executing the command


Now you can with a web browser visit http://localhost:8080 and check the web console it has.

3.-RethinkDB running on Ubuntu 20.04
3.-RethinkDB running on Ubuntu 20.04

On the other hand, if you have installed RethinkDB on a server you will have to run the above command, adding the --bind all option to make it accessible from any address.

rethinkdb --bind all

Now it will work in the web browser.

It only remains to remind you that you have to open the ports 8080 and 29015 in your firewall. The first one for the access to the web interface and the second one for the communication between the clusters.

Enjoy it.


Thanks to this post, you got to know RethinkDB, but you also learned how to install it on an Ubuntu 20.04 server. So fast and easy, you can have a robust and real time oriented database manager.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"
I am Angelo. A systems engineer passionate about Linux and all open-source software. Although here I'm just another member of the family.


Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook