我正在尝试使用brew
命令安装unbound。
这是brew install unbound
的输出:
Warning: unbound 1.6.7 is already installed, it's just not linked.
You can use `brew link unbound` to link this version.
如你所见,我被要求使用
brew link unbound
来链接到unbound 1.6.7版本。但是由于我遇到了以下错误,所以无法进行链接:
Linking /usr/local/Cellar/unbound/1.6.7...
Error: Could not symlink sbin/unbound
/usr/local/sbin is not writable.
我在另一个stackoverflow上找到了这里。
而答案
sudo chown -R $(whoami) /usr/local
会导致以下错误:chown: /usr/local: Operation not permitted
我正在使用 macOS High Sierra 版本 10.13.2。而我的 Homebrew 版本是 1.4.3。
我该如何解决这个问题?
sudo
权限运行吗? - Pravbrew
拒绝与sudo
一起工作。 - Matthew Barclay