Building Digikam from source in Kubuntu 13.10

The Digikam Logo
The Digikam Logo


I’ve been working towards contributing to KDE and Digikam does come under it . Digikam source code is maintained in the kde’s git server [1].

Building Digikam is rather tedious process (that’s my personal opinion) , it has numerous dependencies [2] . While trying to build you will no doubt face multiple “cmake” errors . I’m listing out the set of commands that could do the trick in this regard.

The assumptions being made over here are that you are using a fresh(with no prior builds) Kubuntu 13.10 and that make and cmake are installed in your system .

Type in these commands in the terminal/konsole :

git clone git:// dk

cd dk


After this make a build folder in the source directory , using

 mkdir build

cd ..

Now run the script already present in the source


This is where you will most likely encounter the cmake errors . The following are the packages that I was missing and I’m listing the commands that can be used to install the same . Here they are :

sudo apt-get install libsane-dev
sudo apt-get install libksane-dev (optional)
sudo apt-get install libexiv2-dev
sudo apt-get install libraw-dev
sudo apt-get install libqjson-dev
sudo apt-get install libmarble-dev
sudo apt-get install libopencv-dev
sudo apt-get install libqtgstreamer-dev

After installing all these try running


and hopefully you won’t have any errors this time arround. You can now proceed to complete the installation by typing three more commands .

cd build


sudo make install 

Once this is done , you can now try running Digikam that you have successfully built from source !





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s