title: How to install imagick for PHP 7 on Amazon Linux?
body: <p>I'm trying to install Imagick extension for PHP 7 on Amazon Linux Server.</p>
  
  <p>I typed the following command,</p>
  
  <pre><code>sudo yum install php70-php-pecl-imagick
  </code></pre>
  
  <p>and I get lots of error messages. </p>
  
  <pre><code>Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libgdk_pixbuf-2.0.so.0()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libHalf.so.6()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libImath.so.6()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libgvc.so.5()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libIex.so.6()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libcdt.so.4()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: librsvg-2.so.2()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libgraph.so.4()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libIlmImf.so.6()(64bit)
  Error: Package: ImageMagick-last-libs-6.9.4.4-1.el6.remi.x86_64 (remi-safe)
         Requires: libIlmThread.so.6()(64bit)
  </code></pre>
  
  <p>I tried to 'yum install' those required libraries but it says no packages available, so I googled but no clues. </p>
  
  <p>Anybody knows how to install imagick extension for php 7 or how can I install those required libraries?</p>