Darwin Ports help

Discussion in 'Mac Apps and Mac App Store' started by jvaska, Oct 4, 2005.

  1. jvaska macrumors 6502

    Feb 18, 2002
    Just installed them...the installer finished just fine. But I can't figure out how to get access to them - via Terminal?

    Problem is that when I try to get the most recent copy of Apache:

    sudo port install Apache

    I get this message back:

    -bash: port: command not found

    So, where does this leave me (it does this after a reboot as well). I'm not sure how to get to Darwin Ports, I guess.

    Can't find my help in the documentation - it's pretty new stuff. Any help out there?

    Thanks, v
  2. Zoron macrumors newbie

    May 5, 2009

    I was having this problem as well. In my case, the install script had failed to properly add the path of the program to my shell profile. I use bash, so I added the lines:
    PATH = "/opt/local/bin:/opt/local/sbin:${PATH}"
    export PATH
    to my .bash_profile file.
    or you can just refer to it as /opt/local/bin/port instead of just port.

    Hope that helps.

Share This Page