So I just had to tackle adding Image Magick to a new Ubuntu server. More specifically the Perlmagick adapter as the client’s app is in Perl.
So here’s the deal. You first impulse might be to use the beloved CPAN command. Don’t! CPAN was my first try as well; normally it’s awesome about taking care of dependencies but in this case it was not.
Use Aptitude, Ubuntu’s kick butt package manager. Two lines you’ll need:
- aptitude install imagemagick
- aptitude install perlmagick
Done. Be sure to use the full command, “aptitude” as it handles dependencies a bit better than apt-get.