How to cleanup a MacPorts install?

Bob Nielsen nielsen at oz.net
Sun Apr 8 23:02:31 PDT 2007


On Apr 8, 2007, at 10:50 PM, Markus Weimer wrote:

> Hi List,
>
> I have many old and inactive, but installed Ports on my system. My
> question is twofold:
>
> (1) How do I get rid of these old Ports fully to recover the disk
> space they use?
>

port -u uninstall

> (2) How do I make sure that whenever I do an upgrade, the old versions
> are really uninstalled?
>

Run the above command after upgrading (possibly using a script).




More information about the macports-users mailing list