Useful Sticky Notes

Monday, June 24, 2013

Transition From MacPorts to HomeBrew

So, I've decided to take a dive and get rid of MacPorts and use HomeBrew.

I will update this systematically as I proceed with the following instructions I found:

http://bitboxer.de/2010/06/03/moving-from-macports-to-homebrew/

Update: That seemed to have worked. Now to install Homebrew via:

https://github.com/mxcl/homebrew/wiki/installation

Edit: That link suggested the more reliable instructions to be found here:

http://mxcl.github.io/homebrew/

Edit: That seemed to have worked too, but "brew doctor" has some things I need to pay attention to before I can declare this a success.

It would appear I had forgotten about Fink. Home Brew says I do not need to uninstall it, but my instincts tell me that whatever Fink installed probably needs to be uninstalled or moved into some sandbox.

The appropriate command appears to be:

fink purge `fink list | perl -lne '/^\s*i\s+(\S+)/ and print $1'`

Edit: Okay ... it skipped "Essential and Virtual" packages, and while purging complained of packages in the list that weren't actually installed. What a mess. Let's hope my machine holds after this. Going to remove /sw/bin/fink after this.

My current solution to fink is to:

sudo mv /sw  ~/MyFinkArchive

and comment the line in my .profile trying to invoke init.sh in the Fink archive.




No comments:

Post a Comment