Uninstall a port and ONLY THAT PORT's dependencies?

Dave Horsfall dave at horsfall.org
Sun Oct 1 22:35:47 UTC 2017

On Sun, 1 Oct 2017, Ryan Schmidt wrote:

> Then you can run "port installed leaves" to show a list of the ports 
> that are installed but that you have not requested. (If the list is 
> inaccurate -- if ports are on the list that you actually want -- you can 
> tell MacPorts by using "sudo port setrequested X" where X is the port 
> you want to keep.) Then, once "port installed leaves" correctly 
> represents the list of ports you don't want, you can uninstall them with 
> "sudo port uninstall leaves".

Err, I'd be wary of that on my box.  The output includes things like "xv", 
"aspell", "awstats", "enscript", "gdb", "groff", "gzip" etc (and that's 
just a start).

Yeah, I can set them as requested, but why so many of them?  I might miss 
a few, and delete something I wanted.

Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."

More information about the macports-users mailing list