Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

The truly simple way to install ImageMagick UNIX
I've seen a hint about a twelve-hour "easy" way to install ImageMagick using fink, and another way with wget. Here's Installing ImageMagick for Dummies.

The Apple menu has a "Get Mac OS X Software" item which will take you to the Apple site. Look in the "Unix / Open source" section of the downloads and you'll find ImageMagick.

This is 11.3 Mb download, and it's an installer. You just double-click and run it. The only confusing thing is that it does not ask you where to install it, and it doesn't tell you where it put it! I had the installer on my desktop when I ran it and the files got installed in /usr/local/bin. The version was not quite as new as the sourceforge tarball, but I didn't have to build anything at all.
    •    
  • Currently 3.00 / 5
  You rated: 5 / 5 (3 votes cast)
 
[12,167 views]  

The truly simple way to install ImageMagick | 10 comments | Create New Account
Click here to return to the 'The truly simple way to install ImageMagick' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
fink is better
Authored by: urcindalo on Oct 23, '02 12:30:41PM

First of all, "sudo apt-get install imagemagick" is easy enough for me. You don't even need to compile anything. However, for this option to be usable in 10.2, we must wait a little bit so that the precompiled binaries for Jaguar become available. If you still use 10.1.5, try the command above and enjoy!
Secondly, fink manages it in every possible way: you can update it, delete it, etc...
Thirdly, fink doesn't mess up with system directorie like /usr/local

Personally, I don't install any non-fink unix program.
Greetings from Spain.



[ Reply to This | # ]
Fink is not necessarily better
Authored by: tonyarnold on Oct 23, '02 09:26:19PM

err...yes, Fink is a wonderful tool, but /usr/local isn't a "system" directory per-se. It's a defined standard that 3rd-party software is installed in /usr/local, it's just some vendors/developers got the sh*ts with how much other software was getting in the way of their wonderful software.

Some unixen place their 3rd party software in /opt, some in /usr/local, the Fink team decided that /sw was the go for their needs. Was this the right thing? If the apt-get/dpkg tool/packaging system was built into OSX then, no - it wouldn't have been. However, fink uses apt-get/dpkg to great advantage, and doesn't need other packages getting installed into it's directory tree without it's knowledge - /sw is a good idea in this case.

Just don't preclude that if something gets installed in /usr/local that it's a bad thing. On a default install, there shouldn't be anything but a directory structure under /usr/local, so removing everything in /usr/local is not a bad thing on just about any unix system...



[ Reply to This | # ]
Why not fink?
Authored by: rjbailey on Oct 23, '02 12:52:00PM

sudo apt-get install imagemagick

Install fink! Once it's installed it's trivial to add new software. Twelve hours? I don't think so.



[ Reply to This | # ]
How to uninstall?
Authored by: kerim on Oct 24, '02 07:51:33AM

If I installed with the version listed in this hint, and I wished to uninstall and use the FINK version instead, how would I uninstall the first version?



[ Reply to This | # ]
Perlmagick?
Authored by: Chas on Oct 23, '02 10:06:24PM

Has anyone gotten Perlmagick to run? There are some nice auto-thumbnailing features you can run in the Movable Type blog software if Perlmagick and Imagemagick are running. The Imagemagick package by Mark Liyanage runs great at the command line, but doesn't include Perlmagick.



[ Reply to This | # ]
Perlmagick?
Authored by: FiremanAndy on Oct 23, '02 11:01:13PM
I believe the only part of perlmagick that Movable Type needs is Image::Size. you should be able to install this easy from CPAN with:

sudo perl -MCPAN -e shell
install Image::Size


Other parts of perlmagick may depend on some of the X11 based utilities in ImageMagick. Those are not included in the installer from Apple but would probably be in the fink dist. fink vs /usr/local/bin/ is religion so get over it. personally I love just being able to run

mogrify -enhance somepicture.jpg

and have it enhance the picture better than I can futzing with photoshop for 5 minutes. I installed MT on my computer to test out various things and it seems to work fine once Image::size was installed. I am thinking about writing an SSI that would also run 'mogrify -enhance' on any picture I upload. If I do I'll post a hint on this site. BTW, the latest release of MT (2.5) includes support for other graphics modules so it can work without having to install perlmagick.

[ Reply to This | # ]
Perlmagick?
Authored by: Chas on Oct 24, '02 01:34:14AM

It looks like Image::size just returns the dimensions of the image, it doesn't alter them, resize or resample. I fiddled with building Image::Magick through CPAN but it dies during the build. Someone posted detailed changes to the makefile via the MacOS X Perl mailing list, I have it in my email archives, but I can't make heads or tails of it. Looks like a diff file or something unixy. I don't quite know what to do with the file. I'll look around for a web archive of the Perlmagick makefile mods so I don't have to post pages of horrid code here.



[ Reply to This | # ]
perlmagick-pm- 5.4.5-12
Authored by: sao on Oct 25, '02 10:21:50AM

I installed perlmagick-pm-5.4.5-12 (Perl interface to ImageMagick) with Fink.

Also with Fink, it took me about one hour to install from source imagemagick-5.4.5-2.

Cheers...



[ Reply to This | # ]
Easily tell what's been installed...
Authored by: sharumpe on Oct 24, '02 12:10:07PM
I am paranoid about what installers put on my system. Here's an easy recipe that will allow you to tell what's been changed. Geek level is about 6 on the 1-10 scale. 1) in Terminal, type:
touch /tmp/timestamp
2) install the software as usual 3) in Terminal, type:
sudo find / -newer /tmp/timestamp -depth -print > /tmp/newfiles.txt
open /tmp/newfiles.txt
Review the file to see what's changed since the timestamp file was created. You will get some things like log files and /dev files that have changed, depending on how long the install took and how long you waited between 'touching' the file and running the installer. However, the majority of the files listed should be the ones you are concerned with. Mr. Sharumpe

[ Reply to This | # ]
imagemagick ???
Authored by: pcnelson on Dec 04, '02 05:46:11PM

I have installed IM using the binary that is on the apple site, thank Marc. However none of the command lines seem to be working. Do I have something configured wrong? How do I get my php scripts to work with imagemagick? I am doing something wrong and I have to agree with some others there is not much out there about IM. Any help is appreciated.

Patrick Nelson



[ Reply to This | # ]