Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Congrats, this is wonderful. Now I just wish someone would create a utility to sort out conflicts caused by running MacPorts at the same time (or a straightforward way to migrate to just one or the other).


    port installed > installed_packages.txt
    sudo port -fp uninstall installed
    sudo rm -rf \
        /opt/local \
        /Applications/DarwinPorts \
        /Applications/MacPorts \
        /Library/LaunchDaemons/org.macports.* \
        /Library/Receipts/DarwinPorts*.pkg \
        /Library/Receipts/MacPorts*.pkg \
        /Library/StartupItems/DarwinPortsStartup \
        /Library/Tcl/darwinports1.0 \
        /Library/Tcl/macports1.0 \
        ~/.macports
Then install equivalent Homebrew packages based on installed_packages.txt. It takes less time than you'd think.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: