Ask Your Question
0

How to install imagemagick on Sage4.7.2

asked 2012-03-19 15:03:25 +0100

anonymous user

Anonymous

updated 2015-01-14 09:54:52 +0100

FrédéricC gravatar image

I can't find instructions for installing the imagemagick or ffmpeg animition software to run animate on a local sage machine. Can someone here help me? Thanks a lot. Carl Eberhart

Well, I downloaded the ImageMagick-6.7.6-1.i386.rpm (the download at the top of the list on http://www.imagemagick.org/script/bin... into a sage folder. Then I ran sage and killed the notebook. then I became an su with password sage then I cd'd to the sage folder and followed the instructions rmp -Uvh Image....etc Got error indicating 6 library files that couldn't be found. After playing around a bit more, I gave up. Any suggestions? Thanks

edit retag flag offensive close merge delete

Comments

yes, you'll need to install any/all dependencies too; rpm can list these for you: http://www.cyberciti.biz/faq/how-do-i-find-what-dependencies-a-rpm-file-has/

niles gravatar imageniles ( 2012-03-20 13:47:47 +0100 )edit

Alternatively, depending on what you're trying to do, you could have Sage simply output a list of images and then use a Windows version of the Imagemagick tools yourself.

niles gravatar imageniles ( 2012-03-20 13:49:55 +0100 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-03-19 16:14:53 +0100

niles gravatar image

updated 2012-03-20 08:17:10 +0100

I believe that Sage uses your system versions of ffmpeg and the Imagemagick tools, so you can just follow the installation instructions from their websites. If you do have them installed on your system and the commands still aren't working, then you probably need to make sure that Sage knows where to find them. For this purpose, the Python os module could be useful.

UPDATE:

Indeed if you're running Sage in virtualbox, you'll need to install ffmpeg and Imagemagick there.

edit flag offensive delete link more

Comments

I forgot to say that the sage is running on a virtualbox machine in Windows xp. So would I need to install the imagemagick in the fedora unix or the windows xp? I am guessing unix, but don't know. Carl

carl.eberhart gravatar imagecarl.eberhart ( 2012-03-19 17:19:22 +0100 )edit

Probably in the Linux.

kcrisman gravatar imagekcrisman ( 2012-03-19 23:24:40 +0100 )edit
0

answered 2012-03-20 23:27:37 +0100

carl.eberhart gravatar image

As it turns out, typing yum install ImageMagick in the command window (after logging in as root) works to install ImageMagick.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-03-19 15:03:25 +0100

Seen: 1,301 times

Last updated: Mar 20 '12