Install Darktable on Ubuntu 22.04 LTS: From App Store to the Terminal
You’ll learn how to get the latest open‑source photo editor running on your Ubuntu 22.04 system, whether you’re a casual shooter or an enthusiast who hates waiting for the next version in the default repos.
Why Darktable Is Worth the Extra Steps
Darktable gives you a Lightroom‑style workflow without the subscription fees, and it plays nicely with RAW files from all major cameras. I’ve seen people stick to Photoshop because they don’t want to learn a new interface; once they try Darktable’s tethered shooting mode, they’re hooked.
Check Your Current Sources First
apt policy darktable
If you get `Candidate: 3.0.4-1ubuntu1` that’s the old Ubuntu build. If you see something like `3.6.0-1`, you already have a newer version from the official PPA and can skip to installation.
Add the Official Repository (If Needed)
sudo add-apt-repository ppa:darktable-team/stable sudo apt update
Why this matters: the Ubuntu repos lag behind; the PPA gives you the latest stable release with all bug fixes. I’ve seen crashes after a bad driver update that left my GPU in a strange state; the newest Darktable includes a workaround for that.
Upgrade to the Latest Stable Release
sudo apt install darktable
If you’re already on a newer version, `apt` will upgrade it automatically. Installing from the PPA guarantees you get features like better GPU acceleration and more color profiles.
Install from Snap or Flatpak (Optional)
Some users prefer containerized installs to keep system packages clean.
Snap:
sudo snap install darktable --edge
Flatpak:
flatpak install flathub org.darktable.DarkTable
Both methods pull the most recent build, but they can be a bit slower to start up. Pick what feels right for you.
Verify Installation
darktable --version
You should see something like `Darktable 3.6.0`. If it opens without errors, congratulations! If it crashes immediately or complains about missing libraries, run:
sudo apt install -f
to fix broken dependencies.
Common Pitfalls & Quick Fixes
* Missing GPU driver – Darktable will fall back to CPU rendering but performance suffers. Update your graphics stack:
sudo ubuntu-drivers autoinstall
* Conflicting older libraries – If you pulled a darktable from the default repo before adding the PPA, run `sudo apt remove darktable` and then reinstall via the PPA.
* Flatpak sandbox issues – Some users report “cannot open shared object file” errors. Granting access to `/dev/dri/card0` helps:
flatpak override --filesystem=/dev/dri org.darktable.DarkTable
Wrap‑Up
You’ve got Darktable installed and ready for action. Whether you’re tweaking raw images or setting up a tethered shoot, the latest build will keep your workflow snappy. If you run into hiccups, check the logs (`journalctl -xe`), and you’ll usually spot what’s wrong fast.