Elektra  0.9.5
Get Started
sudo apt-get install cmake git build-essential

Or on RPM (Red Hat Package Manager) based systems (like Fedora, openSUSE, CentOS etc.):

sudo yum install -y cmake git gcc-c++

Or on macOS, most of the build tools can be obtained by installing Xcode. Other required tools may be installed using brew. First install brew as described on their website. Then issue the following command to get cmake to complete the basic requirements:

brew install cmake git
git clone https://github.com/ElektraInitiative/libelektra.git

Run the following commands to compile Elektra with non-experimental plugins where your system happens to fulfill the dependencies:

cd libelektra #navigate to libelektra
mkdir build && cd build #create and navigate to the build directory
cmake .. # watch output to see if everything needed is included
# optionally run "ccmake .." to get an overview of the available build settings (needs cmake-curses-gui)
cmake --build build -- -j5

Optionally you can also run tests, see here for more information:

cmake --build build --target run_nokdbtests

With these commands you will be able to run the "Hello World!" example but usually you will need to use some of the plugins, tools and bindings of Elektra. Please take a look at the more detailed compiling documentation. After you completed building Elektra on your own, you can execute these commands to install Elektra (please check the installation documentation for the many available packages):

sudo make install
sudo ldconfig #optional: check installation documentation for more information

Installation documentation contains further information about available packages.

Optionally you can also run tests to verify the installed Elektra, see here for more information:

kdb run_nokdbtests