Darktable: compiling from source on Fedora 23 · uwot.eu
another meaningless subtitle

Darktable: compiling from source on Fedora 23

· by fabio · Read in about 1 min · (188 Words)
Darktable fedora Fedora 23

Darktable documentation on this matter is somewhat fragmented, so I figure a small how-to on how to install it from source on Fedora 23 could be useful.
The version included in the official repositories is really old (version 1.6.9 as per today) and is missing some important presets for many widely used cameras.
The latest version source code archive can be downloaded from here: https://github.com/darktable-org/darktable/releases.
Before compiling and installing the software the following dependencies must be installed:

$ sudo dnf install cmake gcc-c++ intltool gtk3-devel libxml2-devel lensfun-devel librsvg2-devel sqlite-devel libcurl-devel libjpeg-turbo-devel libtiff-devel lcms2-devel json-glib-devel exiv2-devel pugixml-devel libsoup-devel libgphoto2-devel OpenEXR-devel libwebp-devel flickcurl-devel openjpeg-devel libsecret-devel GraphicsMagick-devel osm-gps-map-devel colord-devel colord-gtk-devel cups-devel SDL-devel

The source code archive also include a build.sh script that theoretically should automate the compilation and installation procedures but oddly it doesn’t seem to work correctly on Fedora 23, the software is indeed compiled correctly but the binaries are not copied in the right directories.
To compile and install manually run:

$ tar xvf darktable-***.tar.xz && cd darktable-***
$ mkdir build && cd build/
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j9
$ make install

Source:
[1] https://redmine.darktable.org/projects/darktable/wiki/Building_darktable_20#Fedora-23
[2] http://www.darktable.org/install/#source