Uninstalling a port

Barrie Stott zen146410 at zen.co.uk
Sat Mar 5 05:41:37 PST 2011


On 5 Mar 2011, at 11:43, Joshua Root wrote:

> On 2011-3-5 20:58 , Barrie Stott wrote:
>> 
>> On 5 Mar 2011, at 05:21, Joshua Root wrote:
>> 
>>> On 28164-7-23 05:59 , Barrie Stott wrote:
>>>> I have dokuwiki installed and want to uninstall it together with all the other ports on which it depends that are not being used elsewhere.
>>>> 
>>>> Will the single command 'sudo port uninstall --follow-dependents dokuwiki' do it? I looked in the port manpage and it seemed to be a bit ambiguous when it said: 'To recursively uninstall all dependents of this port, use --follow-dependents'. I don't want to uninstall anything that's used elsewhere and, while I doubt that this will happen, it seems wise to check beforehand.
>>> 
>>> You want --follow-dependencies, which goes the other way. This will not
>>> uninstall anything that is marked as requested or has other dependents.
>>> 
>>> - Josh
>> 
>> Where can I read about --follow-dependencies?
> 
> The Guide, now:
> <http://guide.macports.org/chunked/using.html#using.port.uninstall>
> 
> - Josh

I do not remember seeing this before. It seems to be exactly what I thought I had found in the first place. Many thanks.

Barrie.



More information about the macports-users mailing list