Improve instructions to install in Fedora

Started by Zetorg, January 31, 2024, 06:10:58 AM

Previous topic - Next topic

Zetorg

I'm following this guide:
https://exiftool.org/install.html#Unix

Downloaded the tar.gz:
$ cd Image-ExifTool-12.75/
$ perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install the ExtUtils::MakeMaker module) (@INC entries checked: /usr/local/lib64/perl5/5.38 /usr/local/share/perl5/5.38 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

Zetorg

The required software is:
$ sudo dnf install cpan
$ sudo cpan install ExtUtils::MakeMaker

Then works...
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Image::ExifTool
Writing MYMETA.yml and MYMETA.json

Phil Harvey

That is unfortunate.  I thought MakeMaker was part of the standard Perl installation.  But I guess not now on Fedora.

But I don't know if the way you installed MakeMaker is the standard technique for Fedora.  I would have thought there should be an rpm package for this.

- 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 ($).