July 31, 2007

sudo: port: command not found

Include the following lines in .bash_login (if you are using the bash shell)

export PATH=$PATH:/opt/local/bin
export MANPATH=$MANPATH:/opt/local/share/man
export INFOPATH=$INFOPATH:/opt/local/share/info

Then try:

sudo port -d selfupdate

If that works, you can install other packages by running:

sudo port install <package_name>

1 Comment »

  1. [...] First off, install MacPorts, with some additional instructions here. [...]

    Pingback by FarmSoft Studios Scratchpad » Installing ntop on Mac OS X 10.5.x, Leopard — December 19, 2008 @ 10:39 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.