Dikam - exiftool not found

I am using kubuntu 24.10 and digikam 8.5.0. I have got the error message that digikam does not find exiftool. Indeed in /usr/bin there is no file or folder named exiftool. Then I have downloaded exiftool and installed it according to the prescriptions in the README document of the downloaded folder using the commands:

 perl Makefile.PL
  make
  make test
  make install

exiftool was then installed in /usr/local/bin.
But then looking in dikam > settings > digikam einrichten… > metadata I can not point to /usr/local/bin but only to /usr/bin, where exiftool was not installed by the installation script of perl. Digikam does still not find exiftool. Using exiftool command in the terminal using a jpg file, it gives me all the metadata.
What to do? Is this my fault or is it a bug?

Not a bug, use your packing system as designed, according to the lovely little tool apt-file it is in the following package.

zeus@9600k:~$ apt-file search bin/exiftool
libimage-exiftool-perl: /usr/bin/exiftool 

Once you install that package (libimage-exiftool-perl) it should be found. Oh and use the make uninstall command to get rid of the local installed version to prevent conflicts.

Edit: and if not having the apt-file installed to use another method to find things like these is.

zeus@9600k:~$ apt-cache search exiftool
forensics-extra - Forensics Environment - extra console components (metapackage)
libimage-exiftool-perl - library and program to read and write meta information in multimedia files
ruby-mini-exiftool - wrapper for exiftool command-line

If you did not use sudo when running make install, it did not install anywhere, but you would see an error in the terminal mentioning this.

But when it is installed correctly, it will show up in the selector tool, in /usr/local/bin

As mentioned, using Ubuntu’s native repos for this is probably the easier method overall, but in this case you aren’t going to break anything by having it installed manually, nor having both a manual install and native packaging.

It is actually not hard to determine the package name. I just tried running the command exiftool, even though I did not have it installed:

$ exiftool
Command 'exiftool' not found, but can be installed with:
sudo apt install libimage-exiftool-perl

Thank You for Your suggestions.
I also have used the command:

sudo apt install libimage-exiftool-perl

then I entered in the terminal (as suggested):
apt-file search bin/exiftool
The answer given in the terminal is:
libimage-exiftool-perl: /usr/bin/exiftool
But at this location I do not find exiftool.
exiftool is instead installed in:
/usr/local/bin
And at this location digikam does not find exiftool. Digicam only accepts as location /usr/bin when searching in setting> Metadata > Exiftool. It does not accept /usr/local/bin, where exiftool is installed. And exiftool does work when I give in the command exiftool in the terminal.

Sorry, but I don’t know what I’m doing wrong.

Hmm…I assume that you installed this as a Snap, perhaps? The version in 24.10 is normally 8.4.

I know the Flatpak had this issue a few years ago, but exiftool was added to it. I will suspect it is missing in the Snap, and simply no one has reported it yet.

The sandboxing of snaps and flatpaks prevent access to certain system locations by design, which would explain why you can’t see it in the file chooser, I think.

I suggest using the flatpak instead of the Snap, or install the slightly older Deb version.

You can enable Flatpak from within Discover’s settings, which takes a couple or three steps, or you can follow the instructions here, and log out or reboot. Then in Discover, you should see more options to install it:

You are right. I installed using snap. The coopertaion with darktabledoes not therefore, too.
To be true, I would not like to reinstall digikam using flatpack and reconfigure it.
I already made a bug report. Do You think that this problem will be resolved in the future? I can miss exiftool, it is not essential for me.

It should, but if and when I can’t say.

Can you link us to the bug report?

Thank You for Your kind replies. They helped me very much. Snap seems to be a major problem. I think I will reinstall Digikam using the Debian repository.
The link on bugs.kde.org is:
501424 – Settings: Exiftool is not found in Metadata