30

Usually I had installed Image Magick on my Ubuntu systems with a command like this

sudo apt-get install imagemagick

or like this:

sudo apt-get install php5-imagick

Right now I am running the latest 14.04, and those packages seem to have disappeared from the repositories. Am I missing something? Have they been obsoleted? How could I install ImageMagick now?

1

4 Answers 4

50

The package you are looking for is imagemagick. Confirm that you have all sources check marked in "Software and Updates":

software and updates package sources

and then update the package list by opening a terminal(Ctrl+Alt+t) and then typing the following:

sudo apt-get update

and enter you password and then

sudo apt-get install imagemagick php5-imagick

and then press Return to confirm the installation.

0
8

In Ubuntu 14.04, imagemagick is available on main repository & php5-imagick is available on universe repository. So follow command in terminal:

sudo add-apt-repository main
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install imagemagick php5-imagick
1
  • 5
    Just FYI, on Amazon EC2 Ubuntu 14.04 (at least N.Virginia region), universe repository is enabled by default. Check /etc/apt/sources.list.
    – Dimitry K
    Nov 24, 2014 at 15:15
2

this did the trick for me...

sudo apt-get install php5-imagick
sudo service apache2 reload
1

I used the following:

sudo apt-get update
sudo apt-get install imagemagick php-imagick

and also had to restart apache before it started working:

systemctl restart apache2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.