Install from Source Code

Everything you need to install TerminusDB from source code

Requirements

A list of prerequisite components depending on your operating system. Click on the required component to download it from the provider's website.

Table: Installation requirements

ComponentVersionRequired to:Arch LinuxDebian or UbuntuFedora or Red HatmacOSWindows

Latest

Make the terminusdb-store library.

Latest

Clone TerminusDB from GitHub.

Latest

Recommended shell for Windows.

Latest

Install Rust and SWI-Prolog.

Latest

Compile terminusdb.

Latest

Install SWI-Prolog.

Latest

Install terminusdb-store.

Latest

Install a Windows Sub-system for Linux.

Install steps

Install, build and run TerminusDB from source code with the following steps.

Install from source code on Windows: Install WSL and Ubuntu In Ubuntu terminal: sudo apt install make libgmp-dev In Ubuntu terminal: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Follow the install steps below for Debian or Ubuntu

Install SWI-Prolog, Rust and clang

Install Rust by following the Rust installation guide.


Arch Linux

Install all dependencies of all the required libraries using sudo and git.

sudo pacman -S git swi-prolog make automake autoconf libtool zlib pkgconf gcc clang gmp

Debian or Ubuntu

Install using the apt package manager.

cat /etc/*release | grep ubuntu > /dev/null && (sudo apt-get install software-properties-common; sudo apt-add-repository ppa:swi-prolog/stable)
sudo apt-get update
sudo apt install swi-prolog clang libgmp-dev

Fedora or Red Hat

Install using sudo.

sudo dnf install pl pl-devel clang gmp-devel

Clone the TerminusDB repository

Identical for all operating systems: Clone the terminusdb repository from GitHub.

git clone https://github.com/terminusdb/terminusdb

Make the TerminusDB Command Line Interface

make the terminusdb Command Line Interface (CLI) binary.

cd terminusdb
make install-tus
make
make install-dashboard

Run the TerminusDB system database

  • Initialize the system database and choose a password for the admin user.

  • Server starts on http://127.0.0.1:6363

./terminusdb store init --key "my_password_here"
./terminusdb serve

Further Reading

The TerminusDB Command Line Interface

Install a JavaScript Client

Install a Python Client

Last updated