![]() See this answer over on Ask Different for more info.įinally, each port installed through MacPorts may again create its own user and group, so you may have to perform a manual cleanup. This feature is called trace mode and is activated by providing the -t flag to port, e.g. Note that MacPorts creates its own user and user group. According to the MacPorts FAQ: Note that starting with 2.3.0, MacPorts can automatically hide /usr/local (and all other files a port does not depend on) from ports build systems. Warning: Don't run a sudo command-especially a rm -rf one-unless you know what it's doing, and enter each line individually if you're unsure. ![]() Sudo rm -rf /Library/StartupItems/DarwinPortsStartup Sudo rm -rf /Library/Receipts/MacPorts*.pkg sudo /Library/Filesystems/fusefs.fs/Support/uninstall-macfuse-core.sh Alternatively, you can install MacFUSE from source via MacPorts (see Chapter 13. Sudo rm -rf /Library/Receipts/DarwinPorts*.pkg Sudo rm -rf /Library/LaunchDaemons/org.macports.* If port is not found, try /opt/local/bin/port instead.Īlso, to remove remainders of MacPorts, you will need to delete the following files by this single command (copy and paste line-by-line to Terminal): sudo rm -rf /opt/local You need to first uninstall all ports: sudo port -fp uninstall -follow-dependents installed All that will be left in your installation prefix now will be files that were not registered to any port. From the manual, uninstalling MacPorts works as follows. 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 uninstall installed.
0 Comments
Leave a Reply. |