You need to have developments tools installed on OS X, though, because it uses gcc, and from what I can tell, it compiles everything.
Macports Just Works.™ I recommend. I am a fan.
I needed to install MySQL on my local machine, but I didn't want mysql5 running all the time; I want to start it up whenever I need it, and shut it down when I'm done. When Macports finished the install, it told me to run a command to make it run on start-up, which I ran.
I wanted to undo it, because I wanted to know how to.
launchctl (short for "launch control"), controls what launches on startup on OS X. Very basic usage is:
user@host $ launchctl load -w com.your.daemon.plist
To make sure it starts up on login. Or:
user@host $
launchctl unload -w com.your.daemon.plist
To make it not start up on login.
It does magicks in the background you don't need (immediately) to know about. Just use it to control what goes on startup and what doesn't.
If you're worried things are starting up that you don't know about, go to
/Library/LaunchDaemons/
, and do an ls -l
(-l
is important, because they're all symlinks).It's basically a directory of symlinks to plist files that are read to get details on daemons to start up for you. If you don't like something (I noticed some Microsoft registration thingy there), just
launchctl unload
it.
No comments:
Post a Comment