On Tue, Apr 28, 2026 at 11:52:53AM +0200, Manuel Giraud wrote: > Theo Buehler <tb@theobuehler.org> writes: > > >> Say that I install a package just to test it and then I want to get rid > >> of it. It comes with a lot of direct/indirect dependencies that I'd > >> also like to remove. How can I do this easily? (Right now, I'm walking > >> the "pkg_info -t" output and remove dependencies one at a time :-/) > > > > You got your answer with pkg_delete -a, but don't miss out on pkg_add -a > > and -aa. > > Thanks, I see but what would be the use case for pkg_add -a or -aa? > -- pkg_add -a is used by the framework when you run "make install" on dependencies. -aa is seldom used. It's when you're tinkering with something, end up installing some packages to test, and then later on, want to be able to remove them when they're no longer needed by anything.
No comments:
Post a Comment