Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I bought a new Macbook Pro. Like linux, it has a bash shell. However, I did not find gcc or g++ in there. Is it in there somewhere, or is there some kind of package manager that will allow me to easily add it in?

share|improve this question
up vote 10 down vote accepted

You need to install the XCode tools from here.

share|improve this answer
4  
You shouldn't need to download XCode - it should be on your install disk under Optional Installs. – Steve Folly Feb 4 '10 at 6:32

In XCode, go to the XCode menu, followed by Preferences, Downloads, and then click on the Install button.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .