11

As I understand, apt autoremove --purge purges (as opposed to only removing) all packages eligible for autoremove.

But I cannot grasp how apt purge --autoremove would be any different. I can't think of any room for different behavior.

Are these two equivalent? Both cmds run fine:

enter image description here

Gaia
  • 977

1 Answers1

12

None: the end result will be the same. Both apt autoremove --purge and apt purge --autoremove will cause orphan dependencies, i.e., packages automatically installed and not anymore required by any other package, to be removed, including their system wide configuration files ("purge").

Without the options, they will behave differently. apt autoremove will do an autoremove, whereas apt purge will do nothing because no package was specified.

vanadium
  • 97,564