Guides 11792 Published by

The article is a practical guide for installing the newest Darktable on Fedora 36, noting that the default repository ships an old build missing recent camera support and noise‑reduction improvements. It explains how to enable the rpmfusion‑free repository first, then use DNF to upgrade the system and install darktable, warning that an older kernel or GLIBC can break Qt dependencies if you skip the refresh. Common pitfalls such as libgobject errors, missing XDG data directories, and buggy GPU drivers are listed with quick fixes like distro‑sync, setting XDG_DATA_DIRS, and rolling back Mesa, while the guide also offers a more advanced section for compiling from source with detailed development tool prerequisites. Overall, the post covers everything from repository setup to troubleshooting and optional bleeding‑edge builds, concluding that installing Darktable on Fedora 36 is straightforward once you follow these steps.



How to Install Darktable on Fedora 36 Linux

Fedora 36 ships with an old Darktable build that can’t keep up with the latest RAW tweaks and bug fixes. If you’re serious about photo editing, you’ll want the newest release straight from the community. This guide shows how to get it in one go—no manual compilation or half‑baked workarounds.

Why the default repo is a no‑go

The Fedora 36 repository still holds Darktable 3.0, which misses features like the new noise‑reduction algorithm and support for recent camera sensors. I’ve seen photographers complain that their images look “off” because the software can’t read the latest metadata. Stick with the official repo and you’ll be stuck on a version that’s three years old.

Prerequisites: Enable RPM Fusion

Darktable lives in the <strong>rpmfusion-free</strong> repository, not in Fedora’s core packages.

1. Open a terminal (or hit Alt+F2, type gnome-terminal, hit Enter).

2. Run:

   sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-36.noarch.rpm

This step is crucial; without it, DNF will complain about a missing repository.

3. Verify the repo was added by checking that rpmfusion-free appears in /etc/yum.repos.d/.

Installing Darktable with DNF

Now the heavy lifting begins.

sudo dnf upgrade --refresh          # Update everything first; prevents dependency hell.
sudo dnf install darktable

Why upgrade first? Fedora’s packaging can get out of sync if you’ve had a stale system; an old kernel or GLIBC version can break Darktable’s Qt dependencies.

After the command finishes, launch it with darktable from the terminal or find it in your application menu. The first run will pull down additional data (a few megabytes) and create a config directory in ~/.config/darktable.

Common pitfalls and how to avoid them
  • Libgobject‑2.0 error: If you see “Unable to load the libgobject library,” you probably have an older GLib that doesn’t match Darktable’s expectations. Running sudo dnf distro-sync fixes most of these mismatches.
  • Missing XDG_DATA_DIRS: Occasionally, the application won’t find its icon theme and will look like it crashed. Exporting export XDG_DATA_DIRS=/usr/share/:$XDG_DATA_DIRS before launching solves this.
  • Outdated GPU drivers: A bad driver update can cause Darktable to freeze on startup. I’ve seen this with the AMD stack after a nightly build; rolling back to the stable Mesa package usually does the trick.
Optional: Installing from source for bleeding‑edge features

If you’re feeling adventurous and want the absolute newest release (the one that just hit GitHub), you can compile Darktable yourself.

sudo dnf groupinstall "Development Tools"
sudo dnf install \
  qt5-qtbase-devel \
  libgphoto2-devel \
  libraw-devel \
  libjpeg-turbo-devel \
  libpng-devel \
  zlib-devel

git clone https://github.com/darktable-org/darktable.git
cd darktable && mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
sudo make install

This route is slower, but it gives you the very latest bug fixes and features. Just remember: if you hit a compile error complaining about “missing qmake” or similar, double‑check that you installed the correct Qt devel package.

That’s all there is to it—Darktable on Fedora 36 without fuss.