Problems installing imagemagick

纵然是瞬间 提交于 2019-12-03 10:14:48
Alex

After encouragement, here's my comment to the question as an answer.

The problem is that the directory Homebrew is trying to use isn't writable by the user running brew. To fix this, make the directory writable by that user.

sudo chown -R yourusename:admin /usr/local/bin

This recursively changes the ownership of all objects inside the /usr/local/bin directory to the user called yourusername. It assumes that your user is in the OS X administrator group.

If you're not sure of the username of your user, you can run the command whoami.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!