
wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-9.29.tar.gz
tar -xzf Image-ExifTool-9.29.tar.gz
cd Image-ExifTool-9.29
perl Makefile.PL

sudo make install

exiftool -ver

res=$?

if [ "$res" != "0" ]; then
	echo "could not install exiftool"
	exit 1
fi


VERSION=9.29

wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-${VERSION}.tar.gz
tar -xzf Image-ExifTool-${VERSION}.tar.gz
cd Image-ExifTool-${VERSION}
## make & install
perl Makefile.PL
sudo make install

## clean up
cd ..
rm Image-ExifTool-${VERSION}.tar.gz
rm -r Image-ExifTool-${VERSION}

## test if it works
exiftool -ver

res=$?

if [ "$res" != "0" ]; then
	echo "could not install exiftool"
	exit 1
fi

Clean up file after install
Clean up file after install
