Upgrading rsync on OS X using Homebrew

user997225 picture user997225 · Jun 15, 2015 · Viewed 20.7k times · Source

The rsync version on my OS X (10.10.3) is an old one, 2.6.9. I've tried to upgrade it using Homebrew but I get the following error:

Error: No available formula for rsync

The new one is supposed to be 3.0+ and much quicker, but how do I install this without deleting the old one?

Answer

Vaibhav Sagar picture Vaibhav Sagar · Jun 15, 2015

Follow the instructions here:

brew tap homebrew/dupes
brew install rsync

And then edit /private/etc/paths to put /usr/local/bin before /usr/bin.

Edit:

Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.

So, only

brew install rsync

is enough.