Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am currently using MacPorts on Lion but thinking of switching to Homebrew.

  1. There is a suggestion that installing to /usr/local causes problems and ~/.homebrew would be an alternative. Can I instead use something like /homebrew with the same permissions as /usr/local so other users on my machine can also use the programs?
  2. Will I have to rebuild anything (auctex, scipy) which are built with gcc from MacPorts?
  3. As long as I add the Homebrew path (/usr/local, ~/.homebrew, /hombrew) ahead of /opts/local of MacPorts, can I leave MacPorts installed?

I am aware of the other posts on this exchange forum regarding coexistence of the two package managers, but do not feel they address these questions specifically. Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Re: 1) I can’t say I’ve heard this suggestion before, and I wouldn’t worry about it. For what it’s worth Homebrew doesn’t actually install to /usr/local, it drops symlinks there. Direct from the horse’s mouth:

Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

Re: 2&3) You don’t have to rebuild specific packages, but Homebrew would really rather not be on the same system as MacPorts. Personally I’d just note down what you’ve currently got installed, remove MacPorts and everything to do with it, and reinstall everything using Homebrew. You can theoretically run both at the same time, but it can cause conflicts which are a pain to resolve.

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.