似乎已经安装了自制软件

似乎已经安装了自制软件

本文介绍了brew安装错误:似乎已经安装了自制软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

unknown7cd1c37eb7ca:local shoaibali$ ruby -e "$(curl -fsSL   https://raw.github.com/mxcl/homebrew/go)"
-e:67: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
-e:96: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
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
unknown7cd1c37eb7ca:local shoaibali$ ls
CONTRIBUTING.md     foreman         hw_mp_userdata
Library         git         libexec
PortDetect.log      heroku          opt
bin         hw_mobile_userdata  share
unknown7cd1c37eb7ca:local shoaibali$

伙计们,当我尝试安装ffmpeg时,我的酿造出现了一些问题.我想我做了不成熟的事情(注意-经过数小时的尝试),卸载brew(通过我在网上阅读的一些文章)并尝试重新安装它.但是,当我再次尝试安装brew时,以上输出将出现在我的终端中.当明显地窖文件不存在时,怎么说怎么说已经安装了Homebrew?

Hey guys, I was having some problems with my brew when I was trying to install ffmpeg. I think I did the immature thing (note - after hours of trying) of uninstalling brew (through some article i read online) and trying to reinstall it. But the above output comes in my terminal when I try to install brew again. How can it say Homebrew is already installed when clearly the Cellar file isn't there ?

推荐答案

我遇到了同样的问题.没有名为.usr/local/Cellar的目录,但是brew安装不断报告它已被安装.

I had the same issue.There was no directory called., /usr/local/Cellar but brew installation kept reporting it is already installed.

我通过以下操作解决了该问题.

I resolved the issue by doing the following.,

第1步:运行

  rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

(它报告了错误并且没有成功运行.但是我相信它可以清除)

(It reported error and didn't run successfully., but I believe it did cleanup)

第2步:来自Windows世界.重启终端

Step 2 : Being from Windows world., restarted the terminal

第3步:再次运行

 ruby -e "$(curl -fsSL   https://raw.github.com/mxcl/homebrew/go)"

它运行成功.

这篇关于brew安装错误:似乎已经安装了自制软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 12:20