Skip to content

Instantly share code, notes, and snippets.

@n0531m
Last active November 28, 2017 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n0531m/9025a52c8bd4d87ebeeb1669d2822fa3 to your computer and use it in GitHub Desktop.
Save n0531m/9025a52c8bd4d87ebeeb1669d2822fa3 to your computer and use it in GitHub Desktop.
Clean macports env
#https://superuser.com/questions/165652/how-can-i-clean-up-my-macports-installation
sudo /opt/local/bin/port -f clean --all all
sudo /opt/local/bin/port -f uninstall inactive
sudo rm -rf /opt/local/var/macports/distfiles/*
sudo rm -rf /opt/local/var/macports/packages/*
sudo /opt/local/bin/port uninstall inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment