Uninstalling a port
zen146410 at zen.co.uk
Fri Mar 4 10:58:25 PST 2011
On 4 Mar 2011, at 15:50, Harald Hanche-Olsen wrote:
> [Ryan Schmidt <ryandesign at macports.org> (2011-03-04 15:06:21 UTC)]
>> sudo port uninstall dokuwiki
>> port installed leaves
>> sudo port uninstall leaves
Many thanks for this and clarifying the difference between dependency and dependent.
> See also the newish requested flag:
> port echo leaves and unrequested
The port manpage makes the definition 'leaves: installed ports that are unrequested and have no dependents'. This makes your 'and unrequested' redundant here.
> Look at the output, run “sudo port setrequested” for those ports
> you want to keep, then
> sudo port uninstall leaves and unrequested
I'd not appreciated the usefulness of setrequested before. Thanks for that!
> Note that uninstalling leaves can create new leaves, so iterate this
> procedure until nothing more happens.
I found out about the necessity for repetition by doing.
I am extremely grateful to both of you for the help.
More information about the macports-users