Brew Link 错误

在安装Privoxy的时候, brew link出了问题, 报错:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink sbin/privoxy
/usr/local/sbin is not writable.

解决方法应当去看brew doctor.

其中的一个warning是解决方案:

Warning: The following directories do not exist:
/usr/local/sbin

You should create these directories and change their ownership to your account.
  sudo mkdir -p /usr/local/sbin
  sudo chown -R $(whoami) /usr/local/sbin

你可能感兴趣的:(Brew Link 错误)