"Can't locate ExtUtils/MakeMaker.pm in @INC" when installing Exiftool on RHEL 8

Started by halloleo, March 02, 2022, 06:54:11 PM

Previous topic - Next topic

halloleo

Hi there

I love Exiftool - Normally I used it on macOS, but now I need to install it on a RHEL 8 machine.

I got the 12.40 tar ball, but when I run

perl Makefile.PL

I get the error "Can't locate ExtUtils/MakeMaker.pm in @INC.

Perl itself is installed:

perl --version

prints "This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi".

I though for its basic use ExifTool doesn't have dependencies... How can I install Exiftool fromthe tar ball?

Phil Harvey

You don't need to install it.  Just copy "exiftool" and the "lib" directory to somewhere in your path.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

halloleo

Thanks Phil. Makes sense.

Very strange though that the Perl install on that machine is missing something so basic that the install script expects it...