Mac OS/X – Installing Homebrew
The last few days or so wanted to expand the repertoire of tools available for Connecting to MS SQL Server Instances.
And, found myself having to install UnixODBC on my Mac Laptop.
So Googled and liked Stuartc Posterous’s writing refreshing, clear, and concise.
http://stuartc.posterous.com/mssql2005-on-rails-on-snow-leopard-the-easies
And, so here we go following his guidance …
And, he said something about installing Homebrew. I swore I do not drink for religious reasons; I am a practicing & observant Muslim to the Nth generation.
But, anyway let us see how far I can actually go without having to taste the good stuff.
Googled some for HomeBrew. And, ended up at the nicely done:
http://mxcl.github.com/homebrew/
That website says to install homebrew, I should\shall open up a Terminal Window and issue the command pasted below:
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Which to me reads ruby, another 4 letter word.
But, what to do, I have allowed my curiosity to hold me hostage.
So issued the command:
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Answered one or two questions affirmatively, and landed at this pothole.
In a land few of unknowns, either you choose the first or the last.
In this case the last error says:
Failed during: Error: /usr/bin/xcode-select returned unexpected error. init -q
So it appears that I have a few more knowns:
- Ruby runtime engine is installed by default
- But, xcode not so, or at least I am able to find it
By reading some more, found out that next in line is to Install Xcode:
https://github.com/mxcl/homebrew/wiki/Installation
Most formulae require a compiler. But not all of them. The command line tools are just as good as Xcode for Homebrew and take up far less disk-space, so get those unless you already have Xcode installed. Yes, you do need an Apple ID to download the packages, sorry about that. If you install Xcode from the App Store, the Command Line Tools are now an optional installation. You’ll need to enable them under Preferences > Downloads.
X-Codeo Command Line Tools are available via:
https://developer.apple.com/downloads/index.action
Keep in mind that you need an Apple Developer ID to access the aforementioned developer.apple.com site.
Once at Apple’s Developer Site, you will find a couple of software bundle options. Chiefly relevant to us are:
So it seems there are a couple of “Command Line Tools”. And, to decide the one you need, determine your OS’s Version:
To determine your OS Version:
- Access the top menu items and click on the “Apple” Sign
- Click on “About this Mac”
- In the “About this Mac” window, select “More Info…”
X-Code Command Line Tools is bundled as a dmg and so Install should be pretty straight-forward.
Once “X-Code Command Line Tools” is installed, launched a new Terminal Window (with soccer green this time for good luck).
Re-Issued:
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Just as in MS Windows UAC forced to enter my password. But, like your beloved Univision scored Goal!!! this time.
If you will like to hear that Goal chant, here is one:
http://www.youtube.com/watch?v=flxVAE4Ok_o
Back to work:
Remember to issue one last command:
brew doctor
References:
- Homebrew – Installation
https://github.com/mxcl/homebrew/wiki/Installation
Wonderful items from you, man. I’ve take into accout your stuff previous to and you’re just too great.
I really like what you’ve got here, certainly like what you’re stating
and the best way through which you say it. You are making it enjoyable and you still care for to stay it smart.
I can not wait to learn much more from you. That is actually a great
web site.