Installing ImageMagick

Might be worthwhile to create excerpts for each OS for their respective installation pages.

Contents

Installing ImageMagick under Aptitude compatible Linux

Make sure you are logged in as root and use apt to install ImageMagick

In debian:

su
apt-get install imagemagick

In Ubuntu:

sudo apt-get install imagemagick

To check the install, run these commands (for the display command you need a running X Window System):

convert logo: logo.gif
identify logo.gif
display

Installing ImageMagick under Yum compatible Linux

Make sure you are logged in as root:

su

Use Yum to install ImageMagick

yum install ImageMagick

To check the install, run these commands (for the display command you need a running X Window System):

convert logo: logo.gif
identify logo.gif
display

Installing ImageMagick under Mac OS X

Users of Linux have the benefit of using built-in package managers to easily install many of the necessary prerequisites for installing CollectionSpace. Mac OS X does not have a built-in application manager by default so the following steps will install Homebrew, an easy and light-weight application manager, as a means to install ImageMagick.

Download the Homebrew ruby install script and compile (ruby is found on Mac OS X by default):

/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

For more information on installing Homebrew, see the "Install Homebrew" section of the Homebrew home page.

Next, install Git, a fast version control system used by Homebrew, to initiate the installation of ImageMagick:

brew install git

Finally, install ImageMagick

brew install imagemagick

If you plan to upload TIFF images to your CollectionSpace system, you may need to instead:

brew install libtiff
brew install imagemagick --with-libtiff

If for any reason your ImageMagick installation via Homebrew fails, try:

  • Diagnosing Homebrew issues by entering brew doctor inside your Homebrew Library directory (e.g. inside /usr/local/Library on some systems), and resolving any issues found by following the instructions provided.
  • Using a third-party ImageMagick installer from Cactuslab. This installation includes TIFF support.

Installing ImageMagick under Windows:

To install ImageMagick under windows, go to this page http://www.imagemagick.org/script/binary-releases.php#windows. There are a few different versions of ImageMagick to choose from, that will affect performance based on usage of ImageMagick. The page holds a short description of these differences. If in doubt, download the one listed at the top of the list.

Once the file is downloaded, simply double click to install.

To check the install, type these commands in a command prompt:

convert logo: logo.gif
identify logo.gif
imdisplay

General Instructions for Installing ImageMagick

To install ImageMagick in any other environment than described above, go to this page to download the binary releases: http://www.imagemagick.org/script/binary-releases.php. Then follow the installation instructions listed there.

To make sure ImageMagick plays nice with Nuxeo, follow these instructions: http://community.nuxeo.com/5.3/books/nuxeo-book/html/admin-imaging.html#d4e1655