How to cleanup a MacPorts install?
Ryan Schmidt
ryandesign at macports.org
Mon Apr 9 01:53:06 PDT 2007
On Apr 9, 2007, at 01:02, Bob Nielsen wrote:
>> 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).
Or simply
port -u upgrade foo
when upgrading a port. This will uninstall the old version just
before installing the new one.
More information about the macports-users
mailing list