Mac OS/X – Installing Homebrew

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.

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:

That website says to install homebrew, I should\shall open up a Terminal Window and issue the command pasted below:

ruby -e "$(curl -fsSkL"

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"

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:

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:

Keep in mind that you need an Apple Developer ID to access the aforementioned 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:

  1. Access the top menu items and click on the “Apple” Sign
  2. Click on “About this Mac”
  3. 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).


ruby -e "$(curl -fsSkL"

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:

Back to work:

Remember to issue one last command:

brew doctor


  1. Homebrew – Installation

One thought on “Mac OS/X – Installing Homebrew

  1. 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.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s