Uninstalling a port

Harald Hanche-Olsen hanche at math.ntnu.no
Fri Mar 4 07:50:50 PST 2011

[Ryan Schmidt <ryandesign at macports.org> (2011-03-04 15:06:21 UTC)]

> sudo port uninstall dokuwiki
> port installed leaves
> sudo port uninstall leaves

See also the newish requested flag:

port echo leaves and unrequested

Look at the output, run “sudo port setrequested” for those ports
you want to keep, then

sudo port uninstall leaves and unrequested

Note that uninstalling leaves can create new leaves, so iterate this
procedure until nothing more happens.

- Harald

More information about the macports-users mailing list