How to install ImageMagick: Difference between revisions

From Acenet Knowledgebase
Jump to navigation Jump to search
test
 
No edit summary
 
Line 1: Line 1:
<html>In this guide, we will install ImageMagick. First off, you need to determine whether or not you are installing ImageMagick on a 32bit operating system, or a 64 bit operating system. To do so is pretty easy. First off, login to your server's shell as root, and run this command:<br /> <br /> <strong>uname -a</strong><br /> <br /> Your server will output something like this: <br /> <br /> <strong>Linux hostname.myserver 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux</strong><br /> or<br /> <strong>Linux hostname2.myserver 2.6.18-128.1.10.el5PAE #1 SMP Thu May 7 11:14:31 EDT 2009 i686 i686 i386 GNU/Linux</strong><br /> <br /> These are two examples, and the important part is the x86_64 or the i686. If you see x86_64, you have a 64 bit operating system. If you see i686 or i386, you have a 32 bit operating system.<br /> <br /> <br /> If you have a 64 bit operating system on your server, please run the following commands to install ImageMagick:<br /> <br /> <strong>cd /usr/src<br /> wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east<br /> tar -xvzf ImageMagick-6.4.7-10.tar.gz<br /> rm -rf ImageMagick-6.4.7-10.tar.gz<br /> <br /> cd ImageMagick-*<br /> ./configure --prefix=/usr LDFLAGS="-L/usr/lib -Wl,-rpath,/usr/lib" <br /> make<br /> make install<br /> <br /> cd PerlMagick<br /> perl Makefile.PL<br /> make<br /> make install<br /> cd ../..<br /> rm -rf ImageMagick-6.4.7-10</strong><br /> <br /> <br /> If you have a 32 bit operating system on your server, please run the following commands to install ImageMagick:<br /> <br /> <br /> <br /> <strong>cd /usr/src<br /> wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east<br /> tar -xvzf ImageMagick-6.4.7-10.tar.gz<br /> rm -rf ImageMagick-6.4.7-10.tar.gz<br /> <br /> cd ImageMagick-*<br /> ./configure --prefix=/usr <br /> make<br /> make install<br /> <br /> cd PerlMagick<br /> perl Makefile.PL<br /> make<br /> make install<br /> cd ../..<br /> rm -rf ImageMagick-6.4.7-10</strong><br /> <br /> <br /> <br /> Once the script finishes installing, you are all done.</html> [[Category:ImageMagick]]
In this guide, we will install ImageMagick. First off, you need to determine whether or not you are installing ImageMagick on a 32bit operating system, or a 64 bit operating system. To do so is pretty easy.  
 
[1] Login to your server's shell as root, and run this command:
 
<syntaxhighlight lang="bash">uname -a</syntaxhighlight>
 
Your server will output something like this:  
 
<syntaxhighlight lang="bash">Linux hostname.myserver 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux</syntaxhighlight>
 
or
 
<syntaxhighlight lang="bash">Linux hostname2.myserver 2.6.18-128.1.10.el5PAE #1 SMP Thu May 7 11:14:31 EDT 2009 i686 i686 i386 GNU/Linux</syntaxhighlight>
 
These are two examples and the important part is the x86_64 or the i686. If you see x86_64, you have a 64 bit operating system. If you see i686 or i386, you have a 32 bit operating system.
 
[2] If you have a 64 bit operating system on your server, please run the following commands to install ImageMagick:
 
<syntaxhighlight lang="bash">
cd /usr/src
wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east
tar -xvzf ImageMagick-6.4.7-10.tar.gz
rm -rf ImageMagick-6.4.7-10.tar.gz
cd ImageMagick-*
./configure --prefix=/usr LDFLAGS="-L/usr/lib -Wl,-rpath,/usr/lib"  
make
make install
cd PerlMagick
perl Makefile.PL
make
make install
cd ../..
rm -rf ImageMagick-6.4.7-10
</syntaxhighlight>
 
If you have a 32 bit operating system on your server, please run the following commands to install ImageMagick:
 
<syntaxhighlight lang="bash">
cd /usr/src
wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east
tar -xvzf ImageMagick-6.4.7-10.tar.gz
rm -rf ImageMagick-6.4.7-10.tar.gz
cd ImageMagick-*
./configure --prefix=/usr
make
make install
cd PerlMagick
perl Makefile.PL
make
make install
cd ../..
rm -rf ImageMagick-6.4.7-10
</syntaxhighlight>
 
Once the script finishes installing, you are all done.
 
[[Category:ImageMagick]]

Latest revision as of 09:40, 9 October 2012

In this guide, we will install ImageMagick. First off, you need to determine whether or not you are installing ImageMagick on a 32bit operating system, or a 64 bit operating system. To do so is pretty easy.

[1] Login to your server's shell as root, and run this command:

<syntaxhighlight lang="bash">uname -a</syntaxhighlight>

Your server will output something like this:

<syntaxhighlight lang="bash">Linux hostname.myserver 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux</syntaxhighlight>

or

<syntaxhighlight lang="bash">Linux hostname2.myserver 2.6.18-128.1.10.el5PAE #1 SMP Thu May 7 11:14:31 EDT 2009 i686 i686 i386 GNU/Linux</syntaxhighlight>

These are two examples and the important part is the x86_64 or the i686. If you see x86_64, you have a 64 bit operating system. If you see i686 or i386, you have a 32 bit operating system.

[2] If you have a 64 bit operating system on your server, please run the following commands to install ImageMagick:

<syntaxhighlight lang="bash"> cd /usr/src wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east tar -xvzf ImageMagick-6.4.7-10.tar.gz rm -rf ImageMagick-6.4.7-10.tar.gz cd ImageMagick-* ./configure --prefix=/usr LDFLAGS="-L/usr/lib -Wl,-rpath,/usr/lib" make make install cd PerlMagick perl Makefile.PL make make install cd ../.. rm -rf ImageMagick-6.4.7-10 </syntaxhighlight>

If you have a 32 bit operating system on your server, please run the following commands to install ImageMagick:

<syntaxhighlight lang="bash"> cd /usr/src wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east tar -xvzf ImageMagick-6.4.7-10.tar.gz rm -rf ImageMagick-6.4.7-10.tar.gz cd ImageMagick-* ./configure --prefix=/usr make make install cd PerlMagick perl Makefile.PL make make install cd ../.. rm -rf ImageMagick-6.4.7-10 </syntaxhighlight>

Once the script finishes installing, you are all done.