How to Install RethinkDB on Ubuntu 20.04 LTS

RethinkDB is a free database focused on documents and their administration. It has an open source code. The database stores JSON documents with dynamic schemas and is designed to make it easy to send real-time updates of query results to applications. In this tutorial, we will analyze the possibility of installing RethinkDB for your Ubuntu 20.04 server. Before installing RethinkDB, you should add the repository of this database, also a mandatory step is to add the GPG key

Add GPG key and important RethinkDB repository

The RethinkDB team has its own repository for Ubuntu Linux. Add the repository to your APT. When you enter the RethinkDB command, you get the output of the repository that is already on your Ubuntu server. You need to add this using a special command, which is described below:

source /etc/lsb-release && echo "deb https://download.rethinkdb.com/repository/ubuntu-$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list

This package, which you need to install, is signed with a GPG key from the RethinkDB team. It is very important to add it, because it will help you avoid any warnings in the future. Run the following command to save the changes:

wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add - OK

After you have successfully added the key and repository described above, you should upgrade the packages. To do this, do the following:

apt update -y

Installing RethinkDB

To install RethinkDB for your Ubuntu 20 server, run the following simple command, which is described below:

apt install rethinkdb -y

Enter the following commands to have your utility always run during server boot.

systemctl start rethinkdb
systemctl enable rethinkd

Was this article helpful?

Related Articles

1 Comment

  1. gralion torile

    What¦s Taking place i am new to this, I stumbled upon this I’ve discovered It absolutely useful and it has aided me out loads. I’m hoping to contribute & help different users like its aided me. Great job.

Leave A Comment?