Installing DarwinPorts on Mac: Don't Forget to Logout · 147 words posted 01/11/2006 07:24 PM

This is an easy issue to forget, so I’m putting it here to get it into google and to remind myself:

If you’ve installed DarwinPorts on Mac OS X and you get the error “command not found” when you type “port” in Terminal, make sure you’ve updated your .profile file to set the PATH variable by adding the following line:

export PATH=$PATH:/opt/local/bin

The trick is, Terminal won’t recognize the port command until you do one of two things—it is not sufficient to quit Terminal:

That’s it. To run DarwinPorts with a GUI, simply launch X11 and type sudo ethereal. (If you simply type ethereal you won’t be able to see the capture interfaces).

(If you don’t know what DarwinPorts is just ignore this post; the iTunes thread is much more exciting.)

* * *


1. On Feb 19, 06:10 PM Chris said:
Thank you. Thank you. Thank you.

This sort of thing has been driving me absolutely bonkers as I’ve been trying to dive into Terminal. #

2. On Feb 21, 11:20 AM since1968 said:
Chris, glad it helped. #