189 8069 5689

iMac终端HomeBrew无法使用-创新互联

错误代码:

成都创新互联公司专业IDC数据服务器托管提供商,专业提供成都服务器托管,服务器租用,重庆服务器托管重庆服务器托管,成都多线服务器托管等服务器托管服务。

bash-3.2# brew update

Initialized empty Git repository in /usr/local/.git/

remote: Counting objects: 1163, done.

remote: Compressing objects: 100% (1067/1067), done.

remote: Total 1163 (delta 116), reused 391 (delta 55), pack-reused 0

Receiving objects: 100% (1163/1163), 1.23 MiB | 40.00 KiB/s, done.

Resolving deltas: 100% (116/116), done.

From https://github.com/Homebrew/brew

* [new branch]      master     -> origin/master

HEAD is now at 42be54e Merge pull request #3667 from commitay/cask-doctor-sip

To restore the stashed changes to /usr/local run:

'cd /usr/local && git stash pop'

Error: Running Homebrew as root is extremely dangerous and no longer supported.

As Homebrew does not drop privileges on installation you would be giving all

build scripts full access to your system.

解决方法就是给这个用户写权限,而不是sudo。

iMacdeMac:~ imac$ sudo chown -R imac /usr/local/

另外有需要云服务器可以了解下创新互联建站www.cdcxhl.com,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


本文题目:iMac终端HomeBrew无法使用-创新互联
URL网址:http://cdxtjz.cn/article/gegjs.html

其他资讯