Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install Imagick on C9.io: an online IDE?

I've tried out various things, yet have not found out how to make it work.

like image 226
Moffee Avatar asked Dec 05 '22 21:12

Moffee


2 Answers

I was looking for a solution to this as well. I posted this question on the Cloud9 Community about it. Thanks to information from there and from here, I finally got it working in my C9 workspace. :)

Here are the steps that worked for me:

1. Update apt-get packages inside the C9 terminal

$ sudo apt-get update 

2. Install imagemagick command-line tools via apt-get

$ sudo apt-get install imagemagick

3. Install php5-imagick module via apt-get

$ sudo apt-get install php5-imagick

You can then confirm the php5-imagick module is installed with:

$ php -m 
like image 148
bou2you Avatar answered Dec 08 '22 09:12

bou2you


I see the answer here kinda broken into many posts. the command in the Cloud 9 terminal is "sudo apt-get install imagemagick"

once it is installing you will get a message asking => "After this operation, 8852 kB of additional disk space will be used. Do you want to continue? [Y/n]

enter "Y" and you are good to go.

like image 38
Steve Chesnowitz Avatar answered Dec 08 '22 10:12

Steve Chesnowitz