...
It's important to note that we should use the --asdeps
argument here to mark these packages's install reason as a "dependency" . Otherwise(otherwise, these packages will be marked as "explicitly" installed which ). This means that if you uninstall the main package, these optional dependencies will be orphaned - which you can then safely uninstall with a single command (which you can run often to clean up any orphans):
...