Install from Unix SourceImageMagick 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 its mirrors and unpack it with this command: gunzip -c ImageMagick.tar.gz | tar xvf -Next configure and compile ImageMagick: cd ImageMagick-6.?.? ./configure makeIf ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type make installFinally, verify the ImageMagick install worked properly, type /usr/local/bin/convert logo: logo.gifCongratulations, 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.
sudo apt-get install imagemagick