Delete all installed ports apart from one and its dependencies

Clemens Lang cal at macports.org
Thu Oct 10 03:14:33 PDT 2013


On Thu, Oct 10, 2013 at 12:09:27PM +0200, Rainer M Krug wrote:
> Is it possible to do something like the following to delete all
> installed ports except the ones digikam depends on:
> 
> ,----
> | sudo port uninstall installed EXCEPT digikam
> `----

sudo port uninstall installed and not digikam and not rdepof:digikam.

Or:

sudo port unsetrequested installed; sudo port setrequested digikam
and remove leaves like you're used to.

-- 
Clemens Lang



More information about the macports-users mailing list