Monday, July 16, 2012

Macport installing sudo: port: command not found


While installing the Macport on your mac, if you happen to find following error:
sudo: port: command not found

Following lines are useful to run before you do sudo port -v selfupdate.
as a result, above error will be gone.


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


source

No comments:

Post a Comment