Uninstalling MacPorts is a drastic step and, depending on the issue you are experiencing, you may not need to do so. If you are unsure, ask on the macports-users mailing list first. If you are sure you want to uninstall, read on. If you want to uninstall MacPorts and the port command is functioning, first uninstall all the installed ports by running this command in the Terminal: $ sudo port -fp un