darktable cli tools with Snap

Hi, I’ve recently switched from Windows 10 to Ubuntu 24.10 and installed darktable from the ‘App Center’ (the Snap package, version 5.0.0).
Happily, the main application runs smooth and well. However, when I try to invoke some of the command line applications e.g. /snap/darktable/current/usr/bin/darktable-generate-cache, I get the following error:
/snap/darktable/current/usr/bin/darktable-generate-cache: error while loading shared libraries: libjxl.so.0.7: cannot open shared object file: No such file or directory
Is there an other way to invoke the darktable command line tools or is this just not possible with the Snap package?

Seems those commands are not exposed by the snap. You can see only darktable, darktable-cli, and lensfun-update-data are exposed: darktable-snap/snap/snapcraft.yaml at master · sergiusens/darktable-snap · GitHub

You should open an issue against the snap package.

Thx for the hint. It seems there has been opened a corresponding issue some while ago: Commandline utilities are missing · Issue #13 · sergiusens/darktable-snap · GitHub

Just for reference, I’m using now the flatpak instead of snap. It allows to generate the cache with
flatpak run --command=darktable-generate-cache org.darktable.Darktable

1 Like