如何通过自制程序安装特定的 icu4c 版本?

问题描述 投票:0回答:1

brew install icu4c
给我73.2,我如何欺骗自制程序安装icu4c 71.1?

谢谢!

homebrew icu4c
1个回答
0
投票

中找到icu4c.rb

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/i/icu4c.rb

或在

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb

编辑第 4、5、6 行:

  • 网址“https://github.com/unicode-org/icu/releases/download/release-71-1/icu4c-71_1-src.tgz”
  • 版本“71.1”
  • sha256“67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf”

然后执行

export HOMEBREW_NO_INSTALL_FROM_API=1
brew install icu4c

© www.soinside.com 2019 - 2024. All rights reserved.