Search code examples
macports

Trying to install MacPorts


I've followed the directions in Installing MacPorts.

To install MacPorts using the pkg installer. The installation apparently goes fine. For example, it goes through the multi-step process eventually saying "Installation Successful" or something to this effect.

And now there's just the "little" problem that neither of these commands work:

man ports

which ports

I've checked in /usr/local, /bin, and /usr/bin, and I don't see where this has been installed to. Ideas?


Solution

  • They're in /opt/local/bin, so as to not overwrite stuff that came with Mac OS X or that you might have gotten from elsewhere. They won't be in your $PATH until you close that Terminal and open another (nothing can alter the environment of a running program except the program itself).