美文网首页
在 Mac 下使用 brew 安装指定版本的软件

在 Mac 下使用 brew 安装指定版本的软件

作者: iccccing | 来源:发表于2018-11-12 08:25 被阅读0次

在 Mac 下使用 brew 安装指定版本的软件

首先搜索一下可以安装的版本,这里以 boost 为例:

$ brew search boost
==> Formulae
boost               boost-mpi           boost-python@1.59   boost@1.59
boost-bcp           boost-python        boost@1.55          boost@1.60
boost-build         boost-python3       boost@1.57

==> Casks
boostnote                  iboostup                   turbo-boost-switcher
focus-booster              nosqlbooster-for-mongodb

我们这里搜索了一下 boost ,可以看到支持的版本有1.55、1.57、1.59、1.60等,接下来我们指定版本安装:

$ brew install boost@1.59
==> Downloading https://homebrew.bintray.com/bottles/boost@1.59-1.59.0.mojave.bo
#################################################                         68.2%

等待结束就好了。

相关文章

网友评论

      本文标题:在 Mac 下使用 brew 安装指定版本的软件

      本文链接:https://www.haomeiwen.com/subject/mycqfqtx.html