Is apt-get purge --auto-remove packagename a valid command?
Or, does it have to be apt-get remove --purge --auto-remove packagename?
The Ubuntu manpage for apt-get () only mentions using the --auto-remove option "If the command is either install or remove...", so I was wondering if it could also be used with the purge command, since that is just a shortcut for the remove command with the --purge option.
Thank you.
41 Answer
Yes, those commands are valid. Moreover, they are equivalent because purge is equivalent with remove --purge (see man apt-get).