Multiple module installations

Daniel J. Luke dluke at
Fri Feb 26 06:08:33 PST 2010

On Feb 26, 2010, at 5:52 AM, Ryan Schmidt wrote:
> It is normal for MacPorts to keep older versions of ports so that you have the option to revert to them should you feel it necessary to do so. To reclaim disk space if you don't plan to revert to an older version, you can fully uninstall old versions by specifying their complete version and variant line. For example, if "port installed" shows you have qt4-mac @4.6.0_0+universal installed, and you don't plan to go back to that version, you could uninstall it by typing "sudo port uninstall qt4-mac @4.6.0_0+universal". If you already know at upgrade time that you don't want MacPorts to retain the older version(s), and you want MacPorts to uninstall the old version(s) when installing the new one, use the "-u" flag to port upgrade, e.g. "sudo port -u upgrade qt4-mac".

And if you know that you don't want any of those 'inactive' ports any more, you can do 'sudo port uninstall inactive' to remove them all with one command.

Daniel J. Luke                                                                   
| *---------------- dluke at ----------------* |                          
| *-------------- -------------* |                          
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          

More information about the macports-users mailing list