无法通过Homebrew安装旧版本的ImageMagick [英] Cannot install older version of ImageMagick via Homebrew
问题描述
我需要安装ImageMagick 6.5.8(或更早版本可能会这样做),但即使我检查了之前的提交,它也会安装最新版本(6.6.9-4)。我这样做了:
I need to install ImageMagick 6.5.8 (or earlier might do), but even when I checkout an earlier commit, it installs the latest version (6.6.9-4). I did this:
$ git checkout -b im-6.5.6 ff414bb
(然后确认工作树显示imagemagick.rb的正确版本,其中@url = .tar版本6.5.6-5)
(then confirmed that the working tree shows the correct version of imagemagick.rb, with @url = a .tar of version 6.5.6-5)
$ brew install imagemagick
(它表示签出标签6.6.9-4然后继续安装该版本)
(and it says Checking out tag 6.6.9-4 and then proceeds to install that version)
任何帮助将不胜感激。谢谢。
Any help would be appreciated. Thx.
推荐答案
希望你设法找到解决方案,如果没有。
这是另一个在另一个相关问题上为我工作的人。
Hope you managed to find a solution, if not. Heres one that worked for me on another related issue.
brew install https://github.com/adamv/homebrew-alt/raw/master/versions/imagemagick-ruby186.rb
这将安装ImageMagic 6.5.9-8
This will install ImageMagic 6.5.9-8
这篇关于无法通过Homebrew安装旧版本的ImageMagick的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!