我在链接 brew 的 vim 版本时遇到问题
I have problems linking brew's vim version
我正在尝试在 Mac OS mojave 中使用 brew 安装 vim,我可以通过在终端中引入整个方向来使用它,但是当我输入 vim
它使用默认的,当我构建它时它显示了这个错误:
==> Pouring vim-8.2.0750.mojave.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/de/man1/ex.1
/usr/local/share/man/de/man1 is not writable.
You can try again using:
brew link vim
我尝试链接它,但它显示了这个错误:
$ brew link vim
Linking /usr/local/Cellar/vim/8.2.0750...
Error: Could not symlink share/man/de/man1/ex.1
/usr/local/share/man/de/man1 is not writable.
MacBook-Air-de-Carlos:~ julian$
您必须设置 /usr/local/share
的所有权:
sudo chown -R $(whoami) /usr/local/share
我正在尝试在 Mac OS mojave 中使用 brew 安装 vim,我可以通过在终端中引入整个方向来使用它,但是当我输入 vim
它使用默认的,当我构建它时它显示了这个错误:
==> Pouring vim-8.2.0750.mojave.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/de/man1/ex.1
/usr/local/share/man/de/man1 is not writable.
You can try again using:
brew link vim
我尝试链接它,但它显示了这个错误:
$ brew link vim
Linking /usr/local/Cellar/vim/8.2.0750...
Error: Could not symlink share/man/de/man1/ex.1
/usr/local/share/man/de/man1 is not writable.
MacBook-Air-de-Carlos:~ julian$
您必须设置 /usr/local/share
的所有权:
sudo chown -R $(whoami) /usr/local/share