带有特定版本的Homebrew安装包 [英] Homebrew install package with a particular version

查看:147
本文介绍了带有特定版本的Homebrew安装包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不幸的是,在我的MAC上,我无法安装宝石rmagick。我已经尝试了很多选项。

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

当我使用imagemagick 6.3.9.7时,我已经安装了它。

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

因此,我想知道有没有办法使用brew安装特定版本的软件?

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

类似

brew install imagemagick -v 6.3.9.7


推荐答案

搜索可用版本:

brew search imagemagick

要安装特定版本,请使用此论坛: brew install package @< version> ,在你的情况下是:

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

brew install imagemagick@6.3.9.7

这篇关于带有特定版本的Homebrew安装包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆