views:

145

answers:

4

Hi guys -

I am in a bit of a pickle. I have a few Mac Minis that I am colocating at my ISP and only have shell access (via ssh for example) to administer the boxes. This is fine, but I just realized - after downloading some tar files for a couple of packages I needed - that I don't have the basic dev tools installed (such as make, for compiling source code). Is there a place I can download them from using curl?

Thanks in advance! ~Aki

+1  A: 

Install MacPorts. This will give you all the usual command line tools that you might need.

Greg Hewgill
Thanks Greg. Is this installable as a binary via the terminal? Remember, the machines are remote, and I do not have access to GUI tools - it has to all be over ssh, and the shell.
Aki Iskandar
+2  A: 

install xcode off of the Mac OS install media (I think it's the second dvd or cd or whatever, but am unsure). That should do it

Ben Hughes
Thanks Ben. Remember, the machines are remote, and I do not have access to GUI tools - it has to all be over ssh, and the shell. Does Apple have this downloadable as binaries that I can get using curl?
Aki Iskandar
that makes things much more difficult. I imagine they exist somewhere on the apple website. Once you get the dmgs, hdiutil will probably be necessary http://macosx.com/tech-support/how-to-install-a-dmg-file-at-a-command-line/7989.html
Ben Hughes
+1  A: 

You can use fink to get yourself a copy of lynx (command line web browser) and then use that to download the OS X developer tools from Apple. Or you could just install a GNU tool chain from Fink iteslf.

Grant Limberg
Nice. I'll give it a try and let you know how it goes. Thanks Grant.
Aki Iskandar
A: 

You should already have curl (mine is at /usr/bin/curl) which you can use to get the fink or MacPorts downloads. Then go from there.

I'm a fink guy myself. Fink will need the devtools DVD isntalled.

dmckee