ImageMagick builds on a variety of Unix and Unix-like operating
systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A
compiler is required and fortunately almost all modern Unix systems
have one. Download ImageMagick.tar.gz from ftp.imagemagick.org or a mirrors and verify its message digest.
Unpack the distribution with this command:
$magick> tar xvfz ImageMagick.tar.gz
Next configure and compile ImageMagick:
$magick> cd ImageMagick-6.5.6 $magick> ./configure $magick> make
If ImageMagick configured and compiled without complaint, you are
ready to install it on your system. Administrator privileges are
required to install. To install, type
$magick> sudo make install
Finally, verify the ImageMagick install worked properly, type
$magick> /usr/local/bin/convert logo: logo.gif
For a more comprehensive test, run the ImageMagick validation suite:
$magick> make check
Congratulations, you have a working ImageMagick distribution and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
The above instructions will satisfy a great number of ImageMagick
users, but we suspect a few will have additional questions or problems
to consider. For example, what does one do if ImageMagick fails to
configure or compile? Or what if you don't have administrator
privileges and what if you don't want to install ImageMagick in the
default /../usr/local folder? You will find the answer to these questions, and more, in Advanced Unix Source Installation.
You must have GS(Ghost Script) installed on your machine.
Under Debian Etch, I used the package gs-gpl.
Then bring up a cpan shell.
Install Image::Magick
And it should install all ok.
Note: doing this inside CPAN is the same as installing a module called PerlMagick outside of cpan!