terminal - Troubles with installation of Homebrew -


i trying install homebrew on fresh install of os x yosemite (removed old partition using disk utility , did complete re-install, carried on no media, completed 10 minutes ago).

unfortunately have closed terminal since first time attempted install using:

"ruby -e "$(curl -fssl https://raw.githubusercontent.com/homebrew/install/master/install)",

as such not have original error code. used install command provided above, , directed install command line tools. part played out fine. after command line tools installed hit 'return' directed, , began 'installing home-brew'. the installation seemed stall , error message displayed.

so re-attempted install re running same terminal prompt , terminal gave me message:

"agreeing xcode/ios license requires admin privileges, please re-run root via sudo.",

then said installation successful. however, prompted run brew doctor, ran , subsequently alerted with:

"agreeing xcode/ios license requires admin privileges, please re-run root via sudo.

error: failure while executing: /usr/bin/otool -l /usr/bin/install_name_tool".

i used prompt "brew help" see if work , did, again trying use brew doctor yielded: "agreeing xcode/ios license requires admin privileges, please re-run root via sudo.

error: failure while executing: /usr/bin/otool -l /usr/bin/install_name_tool".

i attempted use lines https://gist.github.com/mxcl/1173223 uninstall homebrew. terminal displayed message of success. quit terminal, re-opened , typed brew given catalogue of options assumed brew not installed had thought.

so, not know went wrong installation of homebrew , if educate me help. appreciate information of how go uninstalling , reinstalling homebrew success.

thanks

i came across same problem (using yosemite), same error message. i'm newbie on this, might doing, tried seemed working. think not installation error, have agree license , run via sudo.

here step took. (it's bit redundant)

first did "sudo brew doctor"

then said:

you have not agreed xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) within terminal window review , agree xcode license agreements.

error: failure while executing: /usr/bin/otool -l /usr/bin/install_name_tool

so did "xcodebuild -license"

then said:

agreeing xcode/ios license requires admin privileges, please re-run root via sudo.

so did "sudo xcodebuild -license"

then said:

you have not agreed xcode license agreements. must agree both license agreements below in order use xcode. hit enter key view license agreements @ '/applications/xcode.app/contents/resources/english.lproj/license.rtf'

and hit enter , mac sdk , xcode agreement. have read end agree this. kept hitting space show entire agreenent. @ end, said

by typing 'agree' agreeing terms of software license agreements. type 'print' print them or else cancel, [agree, print, cancel]

then typed "agree" , "brew doctor," said

your system ready brew.

i hope helps!


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -