Report this

What is the reason for this report?

Image Magick installation problem

Posted on December 29, 2015

I have followed this instruction https://www.digitalocean.com/community/questions/problem-installing-imagemagick-ubuntu-14-04

to install ImageMagick, I did update but while I am installing ImageMagick it come with Error 2 at the almost end of the the intallation? My droplet has Ubuntu 14.04 any idea, by the way ImageMagick-6.9.2-0.tar.gz does not work but I am installing ImageMagick-6.9.2-10.tar.gz

Any idea how to solved this issue?

Screenshot of the error https://www.dropbox.com/sh/abs006ydn8wnnk1/AADbzbliCl0GAip8RRB8oWlea?dl=0&preview=error-1.gif



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

First all it is a good practice to have things updated:

sudo apt-get update

Next, you should install imagemagick and php5-imagick from the repository:

sudo apt-get install imagemagick php5-imagick

And finally reload your web server.

From this link: http://stackoverflow.com/questions/34515172/error-installing-image-magick-on-ubuntu-14-04/34515244#34515244

Hello there,

I’ll update the question since PHP 5 is been outdated for a good time now.

On Ubuntu droplets first, update all packages that are outdated.

  1. sudo apt-get update

Then install ImageMagick

  1. sudo apt install php8.0-imagick

After this step, you’ll need to reload/restart Apache/Nginx

  1. service apache2 reload
  1. service apache2 restart

or

  1. systemctl reload nginx
  1. systemctl restart nginx

Regards

Hello there,

I’ll update the question since PHP 5 is been outdated for a good time now.

On Ubuntu droplets first, update all packages that are outdated.

  1. sudo apt-get update

Then install ImageMagick

  1. sudo apt install php8.0-imagick

After this step, you’ll need to reload/restart Apache/Nginx

  1. service apache2 reload
  1. service apache2 restart

or

  1. systemctl reload nginx
  1. systemctl restart nginx

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.