Saturday 2 May 2009

How-To: Compile and Install digiKam 0.10 in Debian Sid

digiKam is a popular photo management application for both KDE3 and KDE4. Starting with version 0.10, digiKam offers a KDE4 port too. Here are instructions on how to compile from source and install the latest release in Debian Sid.

1. Install the needed dependencies
First of all, install the tools needed for the compilation. Type as root:

apt-get install build-essential cmake

Get the KDE4 development libraries too:

apt-get install kdelibs5-dev

Now, install the development libraries needed to compile digiKam (that's only one line):

apt-get install libgphoto2-2-dev libkipi6-dev libexiv2-dev libkdcraw7-dev liblcms1-dev libtiff4-dev libpng12-dev libjpeg62-dev libjasper-dev

These should do it.

2. Download the source code
Next, download the tarball from the official website and uncompress it:

tar -xjf digikam-0.10.0.tar.bz2

3. Compile and install digiKam
Change the current working directory to digikam-0.10.0, then compile and install it using these commands:

cmake .
make
make install

The last one as root. This worked for me (I hope I didn't miss any dependencies, if so, please let me know.) DigiKam 0.10 should be now installed.

2 comments:

Anonymous said...

I've tried several methods of upgrading to digikam 0.10 without success. It seems something is missing from the tarball after decompression. Using your method I only get the cmake options list when "cmake" is commanded. I tried the method at http://www.digikam.org/drupal/download?q=download/tarball but when I try "./configure --prefix=/usr" I get the error "bash: ./configure: No such file or directory". If I try it as root I get "sudo: ./configure: command not found". All the dependencies have been installed OK and cmake and build-essentials are latest versions. Running KDE 4.2.2 on Intrepid (Kubuntu). Any ideas? Thanks. Huck

Unknown said...
This comment has been removed by the author.