如何安装 Apache thrift 0.13.0

Har*_*ngh 6 thrift

在这里,我必须处理一些使用 Apache Thrift 0.13.0 的服务,但最近发布了一个新版本,当我brew install thrift在终端上使用该命令时,它会安装最新的 Thrift 版本,即 0.14.0。

我无法安装 thrift 0.13.0。那么,有人可以指导我如何使用brew 安装thrift 0.13(我有Thrift 0.13.0 的tar.gz 文件)吗?

小智 11

这个解决方案对我有用。

尝试:

  1. brew tap-new $USER/local-tap
  2. brew extract --version='0.13.0' thrift $USER/local-tap
  3. brew install thrift@0.13.0

来源:https ://gist.github.com/tonydeng/02e571f273d6cce4230dc8d5f394493c