Homebrew 安装是否成功

在终端中执行brew doctor
1.结果显示Your system is ready to brew.正常安装

2.也是正确的,你有多个用户,在另一个用户安装过
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: /usr/local/var/homebrew/locks isn't writable.
Homebrew writes lock files to this location.

You should change the ownership and permissions of /usr/local/var/homebrew/locks
back to your user account.
sudo chown -R $(whoami) /usr/local/var/homebrew/locks

Warning: The following directories are not writable:
/usr/local/lib/pkgconfig
/usr/local/share/man

This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.

You should change the ownership and permissions of these directories.
back to your user account.
sudo chown -R $(whoami) /usr/local/lib/pkgconfig /usr/local/share/man

Comments

comments powered by Disqus