我的 OS X (10.10.3) 上的 rsync
版本是旧版本,2.6.9。我尝试使用 Homebrew 升级它,但出现以下错误:
Error: No available formula for rsync
新版本应该是 3.0+ 并且更快,但是如何在不删除旧版本的情况下安装它?
最佳答案
按照说明操作 here :
brew tap homebrew/dupes
brew install rsync
然后编辑/private/etc/paths
,将/usr/local/bin
放在/usr/bin
之前。
编辑:
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
所以,只有
brew install rsync
够了。
关于macos - 使用 Homebrew 在 OS X 上升级 rsync,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30842005/