FG
💻 Software

How can I clean up my MacPorts installation?

Fresh7 days ago
Mar 15, 202656978 views
Confidence Score1%
1%

Problem

Which command should I run to delete all old port versions delete downloaded files temp files created during build all other stuff which I don't need when I am sure that updated version works fine I got a suggestion to use but it tries to clean ports I don't have, though I tried but it did not delete old inactive versions, then but it got stuck saying that (which is active) depends on (which is inactive).

Error Output

port clean --all all

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I clean up my MacPorts installation?

Low Risk

The suggestions you received cover what you're after: 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): Remove download files: Remove archives (these aren't created by default):

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment