On Mon, Apr 27, 2026, at 11:01, Manuel Giraud wrote:
> 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 :-/)
>From the pkg_delete(1) man page:
-a Delete unused dependencies (packages that are not needed by
anything tagged as installed manually). Can be used without
pkgnames. If used with pkgnames, it will only delete non manual
installs in the list.