Home > Debian, Debian GNU/Linux, HowTo, PHP, ubuntu > install imagemagick support to your debian/ubuntu server

install imagemagick support to your debian/ubuntu server

imagemagick is one of the best library to work with image. recently i have to install it to our production server. here is what i did:

$ apt-get install imagemagick

it downloads the package and all it’s dependences from debian/ubuntu repository, and installed. now i have to install the support of php (as our product running on php)

$ apt-get install php5-imagick

then i restarted the apache server to take effect this new package installation. if your using php4 then the package name should be php4-imagick

$ /etc/init.d/apache2 restart

that’s all 🙂

if you need imagemagick for your ruby , you can install the librmagick-ruby package.

**if this post doesn’t answer ur question, please post it in comment, i will try to help as much as possible. thanks for ur time.

Views :23535
  1. Mike
    May 30th, 2008 at 06:22 | #1

    The newer versions of imagemagick depend on a whole bunch of non-server type packages – a lot of which are X related. I don’t really want this extra baggage on my headless server so I have had to forbid the new version…

  2. Drew
    January 20th, 2010 at 21:38 | #2

    Thanks – I had a tough time figuring out the name of the imagick module and this helped!

  3. November 16th, 2011 at 18:39 | #3

    Nice tutorial…. thanks !!!

  1. No trackbacks yet.

%d bloggers like this:
54 queries in 0.510 seconds