cd /path/to/Image_Magick perl Makefile.pl PREFIX=${HOME}/lib/perl5 make make install