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)


First follow the steps in COMPILE.

To install Elektra use:

    sudo make install

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

    sudo make uninstall

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.


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

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.