Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've recently started using MacBook Pro with OSX, after years of developing under Ubuntu.

I often use GNU command line tools like make and watch. How do I install these on my Mac?

share|improve this question
add comment

3 Answers 3

up vote 4 down vote accepted

Have a look at these two links:

share|improve this answer
    
Thanks, the second link solved the watch problem. Still no clue on free GNU make solution. –  Adam Matan Jan 30 '12 at 10:17
1  
Xcode is free, you don't need to have a developer subscription to use it: Download Xcode 4.2.1 for Lion from the Mac App Store for Free If you are not an iOS or Mac Developer Program member, you can download Xcode 4.2.1 for Lion from the Mac App Store for free. –  Vlad Jan 30 '12 at 10:21
add comment

makeis shipped with Xcode 4.
watch and others UNIX tools Apple didn't include with OS X are available using Homebrew package manager.

Update 17 Feb 2012:
Apple added a new package to their official developer tools suite: Command Line Tools for Xcode. More infos about why this package is born at Xcode, GCC, and Homebrew.

share|improve this answer
    
Is there a free way to install make? According to the site, I have to pay 99$/year for a subscription plan. –  Adam Matan Jan 30 '12 at 10:12
    
99$ is for the subscription to the Mac developer program, you don't need it. Xcode 4 is 5$. Or you can download Xcode 3 which is free. –  kraymer Jan 30 '12 at 10:21
2  
In case anyone else comes across this answer: Xcode has been made available for free. You can download it through the Mac App Store at <itunes.apple.com/us/app/xcode/id448457090?mt=12>; –  TJ Luoma Feb 12 '12 at 20:34
add comment

watch and GNU make are also available via MacPorts.

port info watch gmake

For pre-compiled Unix binaries see also Rudix.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.