install

...or get the latest stable source package and build it yourself, look what to do if you are running Windows or get the hot new stuff from our git repository.

 

 

Prerequisites

  • *nix (tested: Debian, Ubuntu, Arch Linux, Funtoo, Gentoo, Fedora, Macintosh OS X with Macports)
  • We strongly recommend using a 64bit operating system!
  • Required packages:
    libsqlite3, libjpeg, libpng, libraw (supplied), rawspeed (supplied), gtk+-2, cairo, lcms2, exiv2, tiff, curl, gphoto2, dbus-glib, gnome-keyring, fop, openexr, libsoup2.4
  • You might need to get lcms2 from Pascal's ppa (see Ubuntu below)
  • Optional: gcc >= 4.6

 

Ubuntu packages

We provide several PPAs to add to your Ubuntu installation:

  • For stable releases add the Darktable Release PPA.
  • If you are adventurous and are willing to deal with problems from time to time add the Darktable Unstable PPA. Don't use this PPA if you do time critical work with darktable!
  • Follow the instructions on the Launchpad PPA page.
  • Then search for "darktable" in the Software Center of Synaptic Package Manager and install it.
  • You will find it under "Applications/Graphics/Darktable Photography Workflow Software"

If you want to have nice packages on debian you can rebuild the PPA sources for debian: Download "darktable_$VERSION.orig.tar.gz" and "darktable_$VERSION.debian.tar.gz" from one of the PPAs.

$ sudo apt-get install debhelper dpkg-dev fakeroot
$ sudo apt-get build-dep darktable
$ tar zxvf darktable_$VERSION.orig.tar.gz
$ cd darktable-$VERSION
$ tar zxvf ../darktable_$VERSION.debian.tar.gz
$ dpkg-buildpackage -rfakeroot

Fedora packages

# yum install darktable

If you want to build darktable from the source on Fedora, here are the build dependencies:

sudo yum install intltool atk-devel cairo-devel exiv2-devel fontconfig-devel freetype-devel libgomp gtk2-devel libjpeg-turbo-devel libtiff-devel lcms2-devel lensfun-devel libpng-devel libsq3-devel libstdc++-devel libxml2-devel OpenEXR-devel libcurl-devel libgphoto2-devel dbus-glib-devel libgnome-keyring-devel fop librsvg2-devel flickcurl-devel cmake libsoup-devel gcc-c++ colord-devel

openSUSE packages

darktable is on the openSUSE repositories: openSUSE darktable packages.

And there is a repository for nightly builds.

Arch Linux

$ pacman -S darktable
  • thx to chressie for this, arch is non-ancient :)

Funtoo/Gentoo Linux

darktable is in portage!

# emerge darktable
$ darktable

RHEL 6 / SL 6 / Centos 6

Only darktable-1.0.5 can be provided for these distributions due to restrictions on the Glib version available. Still, try it out, 1.0 has many nice features already and most of the hardware support has been ported back by Pascal - that's where the .5 comes from.

  • install the linuxtech.repo config file if you don't have it already:
su - root
cd /etc/yum.repos.d/
wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo
  • install darktable:
yum --enablerepo=linuxtech-testing install darktable

OS X

  • Download the latest DMG disk image for darktable (check for the highest version number available)
  • Mount the thing
  • Pull the darktable icon into applications folder
  • Good luck :)

This bundle supports only OS X versions 10.6 - 10.9 (Mavericks) running on 64 bit Intel architecture.

What to do with dialog saying ""darktable" can't be opened because it is from an unidentified developer":

  • Locate darktable in Applications folder (or wherever you installed it) using Finder
  • Do "Open" via context menu
  • You will be presented with similar-looking dialog, but this time there will be second button allowing you to run the application
  • After that you will be able to start darktable without this trick (well, until you update it, then you will have to do above steps again)

or you can prevent this from happening by running "xattr -d com.apple.quarantine ~/Downloads/darktable*.dmg" command before mounting the image (or "xattr -dr com.apple.quarantine /Applications/darktable.app" after installing).

Debian

(Of course) there is a darktable package in the Debian repositories. The current stable version Wheezy still has darktable 1.0.4 packaged, but version 1.4.2 is available through the backports. This is also what already landed in Jessie. See package description here: http://packages.debian.org/wheezy/darktable.

darktable can be installed just by running

sudo apt-get install darktable

A description on how to enable the backports repository can be found here: http://backports.debian.org/Instructions/

Solaris

The darktable Solaris packages are provided and maintained by James. You can find his website here with all the packages provided: http://www.jmcpdotcom.com/blog/category/darktable/.
He has both the darktable packages and a dependency package in case this is the first time you are installing darktable on your system.

FreeBSD

darktable is packaged and compiled for FreeBSD, the binary package can be found here:
http://ftp.freebsd.org/pub/FreeBSD/ports/packages/graphics/
To install dartkable on your system, run

# pkg_add -r darktable

and have fun.

Microsoft Windows

  • Unfortunately the community of this commercial distro didn't natively build dt yet.
  • But there's a better solution for you to try:
  • Download and burn a live ISO of a Linux distribution.
  • Reboot your machine.

Current release from source

  • Grab the latest source tarball (recent version: darktable 1.4)
  • For convenience, the Ubuntu package list of build dependencies:
    sudo apt-get install intltool libatk1.0-dev libcairo2-dev libsoup2.4-dev libexiv2-dev libfontconfig1-dev libfreetype6-dev libgomp1 libgtk2.0-dev libjpeg-dev libtiff4-dev liblcms2-dev liblensfun-dev libpng12-dev libsqlite3-dev libstdc++6-4.4-dev libxml2-dev libopenexr-dev libcurl4-gnutls-dev libgphoto2-2-dev libdbus-glib-1-dev libgnome-keyring-dev fop librsvg2-dev libflickcurl-dev cmake liblua5.2-dev libcolord-dev

    ...or click here to install them.

  • The build prerequisites for Arch Linux are:
    pacman -S sqlite3 libjpeg-turbo libpng libraw gtk2 cairo lcms2 exiv2 libtiff curl gphoto2 dbus-glib gnome-keyring fop openexr cmake git
  • Unpack:
    $ tar xvjf darktable-1.0.tar.gz && cd darktable-1.0
  • Then either do
    $ ./build.sh
  • or, manually:
    $ mkdir build && cd build/
    $ cmake -DCMAKE_BUILD_TYPE=Release ..
    $ make -j5
    # make install
    $ darktable
  • In order to get darktable displayed along with your other applications you need to set a symlink:
    $ ln -s /opt/darktable/share/applications/darktable.desktop /usr/share/applications/darktable.desktop

git version

First a word of warning: Using the development version of darktable might be risky in that it can break anytime, kill your edits, eat your kittens or do other nasty things. It is also not guaranteed that XMP sidecars written by a development version will work with a release version. It is also quite certain that any older version of darktable will NOT be able to read the database once a development build updated it to the latest schema. So for your own safety and our sanity, do make backups of your XMP files as well as your library.db (by default it is in ~/.config/darktable/) BEFORE upgrading to the self compiled git version. That being said, it should be quite safe to actually use it and never go back, so all of this might be no issue for you at all. Just keep in mind that IF you ever want to go back it might be hard.

Be sure to have all the build dependencies installed. You can find a list of them here. If you don't have it already, install git from your distribution's repositories. For Ubuntu:

$ sudo apt-get install git

Cloning for the first time

$ cd
$ git clone git://github.com/darktable-org/darktable.git

The cloned files from the git repository are now stored in $HOME/darktable.

Building with build.sh

$ cd $HOME/darktable
$ ./build.sh

The files get prepared to be installed in /opt. If you want to install at another place, you have to type:

./build.sh --prefix /path/to/install

After the build process finished you can install darktable:

cd build && sudo make install

Updating existing git-files

$ cd $HOME/darktable
$ git pull

Building manually

$ mkdir $HOME/darktable/build
$ cd $HOME/darktable/build
$ cmake -DCMAKE_BUILD_TYPE=Release ..

make and install

$ cd $HOME/darktable/build
$ make
$ sudo make install

Starting the program

$ darktable

Let's rock!