On 18/04/2016 22:29, Alfred Perlstein wrote:
> Later pkg can be augmented to "remove packages not explicitly installed"
> which would remove leaf packages.
> 
> Example: you installed "base-debug" which pulls in let's say 50 small
> packages, later you want all of those removed, you can do something
> like:  "pkg delete --leafs base-debug" which should delete "base-debug"
> and any dangling packages it pulled in not required by other pkgs.

pkg-autoremove(8)

It already does this.

        Cheers,

        Matthew


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to