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.

If I install a package manager such as Macports, Fink or Homebrew, how does it affect the startup and running of my system?

It seems like the answer should be "Not at all when you're not using them" but I'm worried that they will break other software (like Mono) or run background processes. Is my fear totally misplaced? Are they just programs like any others?

They sure seem to put their footprint around the OS in quite a few places.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

I can mainly speak for MacPorts, but I'm sure this applies to at least Fink and likely Homebrew as well. There are no background processes at all for the MacPorts package installer. It's just a system that keeps track of installed ports and maintains dependencies in its own self-contained /opt/local directory (with few exceptions). If you install some sort of daemon or service that needs to be run as a background service, then that's a different story and the output of port install will typically give you instructions on how to load it.

I cannot see a way that installing MacPorts (or Fink, etc) would inherently break your Mono installation, which installs itself in /Library/Frameworks with symlinks for executables in /usr/bin. I would say your fear is misplaced.

share|improve this answer
    
Thanks Fideli. I think the thing about Mono had to do with some X11 dependency (not sure). Anyway: Can you shut down all daemons that rely on Macports at once? How do they show up in ps x, as normal processes? –  Yar Feb 1 '10 at 11:19
1  
My point is that running applications installed by MacPorts isn't managed by MacPorts. That is to say, for a MacPorts-installed MySQL server, when launched, port is no longer running. Using ps x, anything installed by MacPorts shows up as it normally would, albeit with the prefix /opt/local/, since that's where it is installed. You can read more about loading and unloading daemons here: guide.macports.org/#reference.startupitems . Finally, keep in mind that MacPorts doesn't automatically install daemons. I was making an example that that would be the only background process. –  fideli Feb 1 '10 at 13:56
    
Thanks @Fideli never saw your response back, please prefix with @yar. GREAT stuff thank you for the info –  Yar Feb 8 '10 at 14:28

It is possible to install daemon processes via Fink, MacPorts and Homebrew but in all cases, you need to manually run launchctl to add that process to launchd

You are more likely to cause yourself a problem by manually installing from a source tarball than by a package manager. Or by using two or more package managers. As an example, don't try and install ruby gems via ports and via the gems command since those installed by the gems command are not going to update the ports database of installed gems and vice versa.

share|improve this answer
    
+1 that last example will probably save me a lot of time. –  Yar Mar 31 '10 at 7:35

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.