The `brew link` step did not complete successfully

关于mac上brew安装一些软件时遇到这个问题的解决。

 

如果报错代码如:

Error: The `brew link` step did not complete successfully 

The formula built, but is not symlinked into /usr/local/imagemagick/

not writable.

 

像遇到这种问题,我的解决方法是,比较简单粗暴:

sudo rm -fr  /usr/local/imagemagick/

brew link imagemagick

然后就可以了 

 

你可能感兴趣的:(brew)