Skip to content

Build Instructions for Fedora

Nicolas Auffray edited this page Apr 26, 2020 · 1 revision

This is the simplest way to build and install darktable source from git master on Fedora (confirmed on 31).

Source Code

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

Dependencies

  • Fedora: sudo dnf builddep darktable
  • openSUSE: sudo zypper si -d darktable

Build Command

cmake --build obj -DCMAKE_INSTALL_PREFIX=/opt/darktable -DCMAKE_BUILD_TYPE=RelWithDebInfo ..

Install

When done compiling, you will get a note about the install command. Example:

sudo cmake --build obj --target install

Desktop integration

For desktop integration with Gnome, simply create two symbolic links.

sudo ln -s /opt/darktable/share/applications/darktable.desktop /usr/share/applications/darktable.desktop
sudo ln -s /opt/darktable/share/icons/hicolor/scalable/apps/darktable.svg /usr/share/pixmaps/darktable.svg