7

Unfortunately on my MAC I am unable to get the gem "rmagick" to install. I've tried pretty much a all the options.

I had gotten it to install when I used "imagemagick 6.3.9.7".

Therefore, I want to know is there a way to install a particular version of the software using brew ?

Something like

brew install imagemagick -v 6.3.9.7
bfontaine
  • 18,169
  • 13
  • 73
  • 107
Prakash Raman
  • 13,319
  • 27
  • 82
  • 132

1 Answers1

13

Search for available versions with:

brew search imagemagick

To install a specific version use this forumla: brew install package@<version>, in your case it's:

brew install imagemagick@6.3.9.7
balazs630
  • 3,421
  • 29
  • 46
  • Thanks! Shall give this a shot. – Prakash Raman Jan 23 '17 at 10:00
  • I get a "Unknown command: versions". Am I supposed to install a supporting library to brew ? – Prakash Raman Jan 23 '17 at 10:01
  • Sorry, brew versions isn't supported anymore, updated the original answer. – balazs630 Jan 23 '17 at 10:11
  • There is now a specific tap for imagemagick versions, perhaps this helps you: https://github.com/buildtools-version-taps/homebrew-imagemagick-versions-tap – Lutzifer Jul 15 '17 at 17:53
  • 1
    as of Dec 2017, brew search imagemagick returns - searching taps on github... searching blacklisted, migrated and deleted formulae... - but no results are returned. – Brynjar Dec 01 '17 at 11:09
  • I wandered in upon this question as I was looking for the way myself. Brew maintains *some* older versions *sometimes* for different packages - depending on demand and what they feel like supporting, and this is what is seen with `brew search ___` - but to install a truly outdated package, you need to download the formula locally and install from that. – Coolio2654 Nov 16 '20 at 02:39