安装自制软件所需的root密码 [英] install homebrew required root password

查看:61
本文介绍了安装自制软件所需的root密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在以下位置安装自制软件

I try to install homebrew at

/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

但需要root密码

    ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share /usr/local/share/man /usr/local/share/man/man1

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

但是我没有在Mac上设置任何密码.

But I did not set any password on my mac.

欢迎发表评论

推荐答案

不需要root密码.该消息是关于 sudo 的,该消息需要具有管理员权限的用户的密码.尝试仅使用您的用户帐户密码.

That isn't requiring the root password. The message is about sudo, which requires the password for a user with administrator rights. Try just using the password for your user account.

这篇关于安装自制软件所需的root密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆