开发者

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 开发者_StackOverflowneither 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?


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).


It's in /opt/local/bin. MacPorts updates .bash_profile to include this in the path, but obviously existing shells don't see the updated PATH variable...


It's probably because you're trying ports but the command is called port: See http://guide.macports.org/#using.port

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜