我在连接brew的vim版本时遇到问题

问题描述 投票:1回答:1

我正在尝试在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$ 
vim homebrew macos-mojave
1个回答
0
投票

您必须在/usr/local/share上设置所有权:

sudo chown -R $(whoami) /usr/local/share
© www.soinside.com 2019 - 2024. All rights reserved.