apt autoremove --purge

Category: Administration

apt autoremove --purge

Remove unneeded packages and their config files

Removes unneeded packages and also deletes their configuration files.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.