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 (http://manpages.ubuntu.com/manpages/precise/man8/apt-get.8.html) 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.
--auto-remove
? – Alvar Oct 17 '13 at 21:45apt-get autoremove
checks for and will "remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed" (from above-linked manpage). – user981178 Oct 17 '13 at 21:52apt-get autoremove --purge
– daboross Oct 17 '13 at 23:10