How To: Install ExifTool on Fedora Linux [Tutorial]

2009 November 22

This is a short tutorial on how to install ExifTool on Fedora Linux. It can probably be tailored to other distributions such as Ubuntu, Debian, Suse, etc.

ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in image, audio and video files. ExifTool supports many different types of metadata including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP and ID3, as well as the maker notes of many digital cameras by Canon, Casio, FujiFilm, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo, Sigma/Foveon and Sony.

Specifically, this guide was written for ExifTool 8.0.0 and Fedora 12. Right, let’s get started!

You can either run the commands individually, or in a script like this (must be ran as root):

#!/bin/sh
echo “Checking if logged in as root…”
if [[ $UID -ne 0 ]]; then
echo “${scriptname} must be run as root”
exit 1
fi

echo “Installing ExifTools…”
yum install -y perl-ExtUtils-MakeMaker
wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-8.00.tar.gz
gunzip < Image-ExifTool-8.00.tar.gz | tar xvf -
cd Image-ExifTool-8.00
perl Makefile.PL
make test
make install
exiftool -ver

if [ $? -eq 0 ]
then
echo "Install Successful!"
else
echo "Something went wrong!"
fi

Feel free to buy me a soda if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that I hope you'll be interested in:


Here are some similar posts that you may be interested in:


No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS