Build from source

First, install the following required dependencies:

  • libuv1
  • libpcre2
  • libyajl
  • libcurl

When using Debian/Ubuntu; libuv1, libpcre2, libyajl and libcurl can be installed using apt:

sudo apt-get install -y \
    libuv1-dev \
    libpcre2-dev \
    libyajl-dev \
    libcurl4-nss-dev \

Next, clone the ThingsDB project.

git clone https://github.com/thingsdb/ThingsDB.git

Make sure the build essentials are installed.

For Debian/Ubuntu:

sudo apt-get install build-essential

Then compile the source code to make it executable.

cd ThingsDB/Release
make clean && make

Finally, you might want to create a symlink like this:

sudo ln -s ~/ThingsDB/Release/thingsdb /usr/local/bin/thingsdb