How To Uninstall MacPorts with Command Lines

Author Tasnia Salinas By Tasnia Salinas, on January 17, 2021, in Mac Uninstaller

What Is MacPorts? MacPorts, also called DarwinPorts, is a command line package management system that simplifies the installation of software on the macOS and Darwin operating systems. Similar with Homebrew, MacPorts is an open-source software project to simplify installation of other open source software. The official MacPorts GUI application is called Pallet and began as a Google Summer of Code project in 2009.

Why uninstalling MacPorts on Mac? Comparing MacPorts with Homebrew, the number of packages in MacPorts was severely limited, as licensing information wasn't originally maintained by MacPorts for many ports in the collection (App Can't Be Opened Because Apple Cannot Check It for Malicious Software.). Since it's suffice to have one package manager at a time, you may consider removing another one if there is no extra value in it. In this article, we'll show how to quickly and easily uninstall MacPorts.

How To Uninstall MacPorts Package Manager on Mac

Table of Content:

Part 1: Uninstall MacPorts on Mac with Command Lines

Because uninstalling MacPorts is an irreversible process, you should understand it's not a universal troubleshooting solution for fixing unknown issues (How To Uninstall Programs on Mac). If you need to uninstall MacPorts (and it can run as normal), first uninstall all the installed ports by running this command in the Terminal:

$ sudo port -fp uninstall installed

In the meanwhile, you need to clean up files that are registered/generated by MacPorts (How To Import Photos from iPhone to Mac). This includes configuration files, databases, any files which MacPorts renamed in order to allow a forced installation or upgrade. Open Terminal and run the following commands to do so:

$ 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

Part 2: Clean Uninstall MacPorts on Mac with Omni Remover

Don't have full confidence in deleting MacPorts with command lines? Omni Remover is made to simplify the boring MacPorts removal procedure so that you would have much more free time. Thanks to its powerful App Uninstall feature, you can just completely wipe out MacPorts and all orphaned app leftover on your Mac. Here are the detailed steps of how to use Omni Remover to delete Macports (Pallet, desktop client of Macports). Free Download


  1. 1
    Step 1:

    Click to download Omni Remover > Install and Open Omni Remover on your Mac (macOS included).

    How To Uninstall MacPorts/Pallet on Mac Step 1
  2. 2
    Step 2:

    On the left side of Omni Remover > Choose App Uninstall > Select Pallet icon > Click Scan to browse MacPorts/Pallet associated cache junks.

    How To Uninstall MacPorts on Mac Step 2
  3. 3
    Step 3:

    Let Omni Remover scan all MacPorts/Pallet related configuration files and databases > After that, click Clean to start uninstalling MacPorts Client from your Mac (iMessage and FaceTime Waiting for Activation).

    How To Uninstall MacPorts on Mac Step 3

The Bottom Line

Now can you uninstall MacPorts on your Mac with our suggestions above? Anyway, wish you're enjoying your Mac for better productivity and entertainmant. To keep your Mac clean and running fast, give Omni Remover a try here: Free Download Now


Home / Mac Uninstaller / Omni Remover / How To Uninstall MacPorts on Mac

Omni Remover

Requirements: OS X 10.8+, 13.1Mb free space
Version 3.3.5 (January 17, 2021) / Support macOS
Category: Mac Uninstaller

More iPhone/Mac Related Tips

Tags: Uninstall iTunes Mac   Uninstall Office 2011 Mac   Uninstall Firefox   Uninstall Kaspersky Mac Uninstall MacKeeper   Uninstall Google Earth Mac   Uninstall Steam Mac   Uninstall Flash Mac Uninstall Citrix Receiver Mac   Uninstall Spotify Mac   Uninstall Dropbox Mac   Uninstall Skype Mac Uninstall Teamviewer Mac   Uninstall uTorrent Mac   Uninstall Sophos Antivirus Mac   Uninstall Norton Mac   Uninstall Soundflower Mac   Uninstall WinZip Mac