Fetching contributors…
Cannot retrieve contributors at this time
151 lines (88 sloc) 4.57 KB



For the following Linux distributions and package managers 0.8 packages are available:

Available, but not up-to-date:

For OpenSUSE, CentOS, Fedora, RHEL and SLE Kai-Uwe Behrmann kindly provides packages for download.


To use the debian repository of the latest builds from master put following lines in /etc/apt/sources.list:

For Stretch:

    deb     [trusted=yes] stretch main
    deb-src [trusted=yes] stretch main

Which can also be done using:

    echo "deb     [trusted=yes] stretch main" | sudo tee /etc/apt/sources.list.d/elektra.list

Or alternatively, you can use (if you do not mind many dependences just to add one line to a config file):

    sudo apt-get install software-properties-common apt-transport-https
    sudo add-apt-repository "deb     [trusted=yes] stretch main"

For Jessie:

    deb     [trusted=yes] jessie main
    deb-src [trusted=yes] jessie main

For Wheezy (not updated anymore, contains 0.8.19-8121 packages):

    deb     [trusted=yes] wheezy main
    deb-src [trusted=yes] wheezy main

To get all packaged plugins, bindings and tools install:

apt-get install libelektra4-all

For a small installation with command-line tools available use:

apt-get install elektra-bin

If you want to rebuild Elektra from Debian unstable or our repositories, add a deb-src entry to /etc/apt/sources.list and then run:

apt-get source -b elektra

To build Debian Packages from the source you might want to use:

dpkg-buildpackage -us -uc -sa

(You need to be in the Debian branch, see GIT)


You can install Elektra using Homebrew via the shell command:

brew install elektra

. We also provide a tap containing a more elaborate formula here.


First follow the steps in COMPILE.

To install Elektra use:

sudo make install
sudo ldconfig  # See troubleshooting below

To uninstall Elektra use (will not be very clean, e.g. it will not remove directories and *.pyc files):

sudo make uninstall
sudo ldconfig

or in the build directory (will not honor DESTDIR!):

xargs rm < install_manifest.txt


First follow the steps in COMPILE.

Then use:


which should create a package for distributions where a Generator is implemented. See this cmake file for available Generators and send a merge request for your system.


Error Loading Libraries

If you encounter the problem that the library can not be found (output like this)

kdb: error while loading shared libraries: cannot open shared object file: No such file or directory


kdb: error while loading shared libraries: cannot open shared object file: No such file or directory

you need to place a configuration file at /etc/ (e.g. /etc/

Add the path where the library has been installed


and run ldconfig as root.

Installation Manuals

For some of the plugins and tools that ship with Elektra, additional installation manuals have been written. You can find them in the tutorial overview.

See also