Monday 29 June 2009

How-To: Compile and Install digiKam 1.0.0 Beta 1 in Ubuntu 9.04 Jaunty Jackalope

digiKam is a free photo management application for KDE, and probably the best alternative to Picasa from Google. digiKam includes many photo retouching and photo manipulation functions, and it allows to organise your collection into albums.

Kubuntu 9.04 comes with version 0.10 for KDE4, but in the first beta of version 1.0 was released on June 9. Here are several easy steps for compiling digiKam from source and installing it on a Ubuntu/Kubuntu Jaunty machine.

1. Install the needed dependencies
In a terminal window, type:

sudo apt-get build-dep digikam

This command will fetch all the needed development libraries and the meta package build-essential, which includes compilation tools.

2. Get the source code
Next, download the source code from the official homepage of digiKam, then uncompress it:

tar -xjf digikam-1.0.0-beta1.tar.bz2

3. Compile and install digiKam
Make sure the current working directory is digikam-1.0.0-beta1, then type the following:

cmake .
make
sudo make install

For the last command you will need the user password. Compilation may take a while, so have patience. Once the installation is over, you can start digiKam by either typing digikam in a terminal window or pressing Alt+F2 and typing digikam in the run box that appears.

digiKam 1.0.0 Beta 1 running in Kubuntu 9.04 Jaunty Jackalope

digiKam homepage
Download digiKam source from SourceForge.net project page

5 comments:

Xyem said...

I followed your instructions to compile digikam ( beta4 instead of beta1 ) and now digikam does not display any images.

I believe it is something to do with being unable to "create io-slave".

Any ideas how to remedy the issue?

Thanks

bwinterton said...

I have the same problem as xyem using ubuntu 9.04. Any way to fix this?

robtop said...

I get an error when I execute cmake. in ubuntu.

See Error:

CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/user/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:43 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!


Any ideas? Did I miss a step?

I'm using Gnome and not KDE4. Does it matter?

Anonymous said...

Here is what worked for me.

Install the build-dep files

sudo apt-get build-dep digikam

decompress the tar file and cd to the decompressed folder then issue the following commands.

mkdir build

cd build

cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

make

sudo make install


if you still have problems try the above after installing and older version of digikam from the official ubuntu repositories using apt-get or package manager

Tim C. Anderson said...

I'm having the same issue as robtop. I tried the sudo apt-get build-dep digikam command, but apt-get returned with Unable to find a source package for digikam.

Any help?