Friday, August 21, 2009

how to install imagemagick on linux server



How to install imagemagick on linux server


Here is a step-by-step guide on installing ImageMagick on most RedHat-based servers (RHEL, CentOS, Fedora, etc.):


You can install ImageMagick from source. However, if don't have a proper development environment or if you're anxious to get started, download a ready-to-run Unix or Windows executable. Before you download, you may want to review recent changes to the ImageMagick distribution.

You Can Download ImageMagick Rpm from the following Link
http://www.imagemagick.org/download/linux/fedora/i386/ImageMagick-6.5.4-10.i386.rpm
ImageMagick RPM's are self-installing. Simply type the following command and you're ready to start using ImageMagick:
$magick> rpm -Uvh ImageMagick-6.5.4-10.i386.rpm

For other systems, create (or choose) a directory to install the package into and change to that directory, for example:
$magick>
cd $HOME

Next, extract the contents of the package. For example:

$magick> tar xvfz ImageMagick.tar.gz

Set the MAGICK_HOME environment variable to the path where you extracted the ImageMagick files. For example:

$magick> export MAGICK_HOME="$HOME/ImageMagick-6.5.4"

If the bin subdirectory of the extracted package is not already in your executable search path, add it to your PATH environment variable. For example:

$magick> export PATH="$MAGICK_HOME/bin:$PATH"

On Linux and Solaris machines add $MAGICK_HOME/lib to the LD_LIBRARY_PATH environment variable:

$magick>LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$MAGICK_HOME/lib" $magick> export LD_LIBRARY_PATH

Finally, to verify ImageMagick is working properly, type the following on the command line:

$magick> convert logo: logo.gif $magick> identify logo.gif $magick> display logo.gif

Congratulations, you have a working ImageMagick distribution under Unix or Linux 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.

Or

yum install ImageMagick

after you send this shell command you will be ask this.. just say yes
Total download size: 15 M
Is this ok [y/N]: y

1 comment:

  1. Still I love your Website. It is Very Helpful to me. It always make me smile with joy.

    Regards
    Sharon

    ReplyDelete