Thursday, April 4, 2013

Macport installing sudo: port: command not found

Hi Guys,

When installing MacPort from source i found trouble in this part
port: command not found 
i have found the solution after googling, that easy way.. here's check it out.


nano .bash_profile
add a chunck of code below:
export PATH=$PATH:/opt/local/bin
export MANPATH=$MANPATH:/opt/local/share/man
export INFOPATH=$INFOPATH:/opt/local/share/info
then type this line code
sudo port -v selfupdate
that's all, enjoy!

No comments:

Post a Comment