brew安装时报错-/usr/local must be writable

Posted 糊涂一点web

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了brew安装时报错-/usr/local must be writable相关的知识,希望对你有一定的参考价值。

执行语句

udo chown -R $(whoami) /usr/local,即

 

sudo chown -R username /usr/local

其中username为系统当前用户名。

然后执行brew update

以上是关于brew安装时报错-/usr/local must be writable的主要内容,如果未能解决你的问题,请参考以下文章

brew update usr/local must be wrtable

mac使用brew权限和路径报错解决方案

npm安装socket.io时报错的解决方法(npm WARN enoent ENOENT: no such file or directory, open '/usr/local/nodej

hadoop安装时报错 /usr/local/hadoop-2.6.0-stable/hadoop-2.6.0-src/hadoop-hdfs-project/hadoop-hdfs/target/f

Error: You must `brew link pcre openresty-openssl` before homebrew/nginx/openresty can be installed

(转)Linux安装SwfTools-0.9.2安装事,在执行make install时报错