Created
February 27, 2019 04:32
-
-
Save mortonfox/e687bd031f0c2a099fe217aedc132b31 to your computer and use it in GitHub Desktop.
[Clean up MacPorts] #macports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The suggestions you received cover what you're after: | |
port clean --all all | |
sudo port -f uninstall inactive | |
If you can't wait for the clean one to run in the background, there are a few commands you can run manually and faster. | |
Remove leftover build files (this is done automatically by default): | |
sudo rm -rf /opt/local/var/macports/build/* | |
Remove download files: | |
sudo rm -rf /opt/local/var/macports/distfiles/* | |
Remove archives (these aren't created by default): | |
sudo rm -rf /opt/local/var/macports/packages/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment