Is there a way to tell opam to remove all packages that are no longer required or depended upon? opam remove package-name seems to only remove the base package, and not its dependencies. opam clean doesn’t do it either.
1 Like
> opam remove --help
And it looks like it is
> opam remove --auto-remove
What @vrotaru said, otherwise opam remove -a pkgname should also remove the lefotver non necessary packages