macos - 使用 Homebrew 在 OS X 上升级 rsync

标签 macos homebrew rsync

我的 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/

相关文章:

cron - rsync 代码将运行,但不在 cron 中运行

Python rsync脚本目录名镜像

objective-c - 使用我的 NSManagedObject 子类作为 CoreData 实体的父类(super class)

multithreading - 对于 Mac 和 BSD,如何找到当前线程运行的 cpu?

macos - vagrant homestead - 公共(public)网络无法在 osx 上运行

ruby - 错误 : You must `brew link pcre' before nginx can be installed

homebrew - 执行 git checkout 时,brew 更新失败

linux - 使用 Readline 在 bash 中注释掉命令行

macos - Postgres 失败并显示 'could not open relation mapping file "global/pg_filenode.map"'

zend-framework - 部署 Zend Web 应用程序的最佳方式