Build from source

First, install the following required dependencies:

  • libuv1
  • libpcre2
  • libyajl
  • libcurl
  • libssl

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

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

Next, clone the ThingsDB project.

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

Make sure the build essentials (and cmake) are installed.

For Debian/Ubuntu:

sudo apt-get install build-essential cmake

Then compile the source code to make it executable.

./ThingsDB/release-build.sh

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

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