5

Install ImageMagicK on OSX Lion

 2 years ago
source link: https://www.sethvargo.com/install-imagemagick-on-osx-lion/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Yay! Not only has Apple taken us a few steps back in terms of the operating system, but they've also broken my favorite memory-leaking image-manipulation tool - ImageMagick!

Thankfully, I've come up with a way to get it working again (although the process is slightly bassackwards):

Using Homebrew

If you are using Homebrew as a package manager for Mac, you'll need to perform the following steps to get ImageMagicK working on OSX Mountain Lion:

  1. Remove any existing versions of ImageMagick:

    $ brew uninstall imagemagick
    
  2. Update Homebrew

    $ brew update
    
  3. Install the latest Xcode from the App Store (it's free now?)

  4. Clean up using the command

    $ brew cleanup
    
  5. Ensure brew is roaring

    $ brew doctor
    

And delete any files that end in .a or .la

  1. (Re)install ImageMagick

    $ brew install imagemagick
    

Using MacPorts

If you are using MacPorts as a package manager for Mac, you'll need to perform the following steps to get ImageMagicK working on OSX Mountain Lion:

  1. Remove any existing versions of ImageMagick:

    $ port uninstall imagemagick
    
  2. Update MacPorts

    $ port selfupdate
    
  3. Install the latest Xcode from the App Store (it's free now?)

  4. (Re)install ImageMagick

    $ port install imagemagick
    

Without a Package Manager

  1. Download Homebrew

  2. See Part 1


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK