它已经花了很长时间,我还没有解决方案来解决我安装Homebrew的问题。为什么重新安装和卸载Homebrew会失败?
当我键入ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
,我得到:
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
Ok
我输入rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
,并得到这个错误:
rm: /usr/local/Cellar: Directory not empty
当我进入这个目录没有文件。我怎样才能删除该目录?
我也试过sudo rm -rf /usr/local/Cellar
。
你试过chmod然后rm? – SocoM
不,我应该输入什么数字的chmod命令? –
'brew doctor'说什么? – tadman