Build instructions for Fedora - darktable-org/darktable GitHub Wiki
This is the simplest way to build and install darktable source from git master on Fedora (confirmed on 31).
git clone https://github.com/darktable-org/darktable.git
cd darktable
- Fedora:
sudo dnf builddep darktable
- openSUSE:
sudo zypper si -d darktable
cmake --build obj -DCMAKE_INSTALL_PREFIX=/opt/darktable -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
When done compiling, you will get a note about the install command. Example:
sudo cmake --build obj --target install
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