Build Instructions (Linux)


On Arch Linux, install the following libraries:

1 $ sudo pacman -S ki18n kconfig kidletime kauth kcrash solid kio kdbusaddons kfilemetadata

FIXME: What about basic requirements such as gcc and cmake?

Getting the code

1 $ git clone git://

Setting up the development environment

Baloo installs a number of executables and libraries. While these can be installed in /usr/, that requires root access and typically interfers with the distro packages. Instead we prefer installing Baloo locally, and updating the required environment variables. This isolates environment also protects us from mistakes.

Python development typically also uses an isolated environment called a virtual environment. For now we can just use their tool.

1 $ sudo pacman -S python-virtualenv
2 $ mkdir ~/baloo-env
3 $ cd ~/baloo-env
4 $ git clone git://
5 $ mkdir build
6 $ cd build
7 $ cmake baloo -DCMAKE_INSTALL_PREFIX=~/baloo-env
8 $ make -j4
9 $ make install

This builds and installs Baloo in the virtual environment.

This is stupid, the LD_LIBRARY_PATH is not set by virtualenv. We need a better tool. Write my own?

Setting up the environment Compilation and installation Running automated tests

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:01:13 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.