Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to install Git and OpenJDK 6 using MacPorts, however when I type:

$ sudo port install git-core

it returns:

sudo: port: command not found

I think it might be a path problem, but I am new to Mac so I don't how to fix it. Can someone help?

share|improve this question

migrated from stackoverflow.com Mar 19 '13 at 23:35

This question came from our site for professional and enthusiast programmers.

    
This is not a development question, so you should post it on Ask Different (Mac-specific site): apple.stackexchange.com –  David Ravetti Feb 9 '13 at 3:56
add comment

1 Answer

Use this to install git under OS X.

http://code.google.com/p/git-osx-installer/

At your current level of experience with OS X I would also recommend that you stick with the Oracle Java 7 distribution which works quite well for Mountain Lion and Apple Java 6 for Lion and earlier (if you need the JDK-bits they can be downloaded from ADC).

share|improve this answer
add comment

Your Answer

 
discard

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