Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
Not here. I just add ports with sudo port install and it works for every user. – Sven May 18 '10 at 14:54
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:


share|improve this answer

Your Answer


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.