Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On Snow-Leopard, it seems that when I install a package, it requires to be "reinstalled" for every user. How do I do a system-wide install?

Thanks!

share|improve this question
    
Not here. I just add ports with sudo port install and it works for every user. –  SvW May 18 '10 at 14:54

1 Answer 1

up vote 2 down vote accepted

By default all packages installed by MacPorts are installed within the /opt/local tree. Make sure each user either has this reflected in their path, or calls the binary with the full path.

export PATH=${PATH}:/opt/local/bin:/opt/local/sbin

Failing that, check to make sure the prefix variable is set correct in the macports.conf file. The global file can be found at:

/opt/local/etc/macports/macports.conf

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.