Skip to content

Instantly share code, notes, and snippets.

@nghuuphuoc
Last active January 14, 2019 17:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save nghuuphuoc/7801133 to your computer and use it in GitHub Desktop.
Save nghuuphuoc/7801133 to your computer and use it in GitHub Desktop.
Install ImageMagick on Centos 6
// Install ImageMagick
$ yum install ImageMagick ImageMagick-devel
// Install php imagick extension
$ yum --enablerepo=remi,remi-test install php-pecl-imagick
@gediminaskv
Copy link

For ImageMagick 7 version one should use "yum --enablerepo=remi,remi-test install ImageMagick7" instead "yum install ImageMagick ImageMagick-devel"

@daveboling
Copy link

daveboling commented Jan 14, 2019

Thank you, worked perfectly Centos6.9! Anyone landing here from Google, in order for @gediminaskv's command to work ~ don't forget to add the Remi repo. See: https://blog.remirepo.net/pages/Config-en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment