apt autoclean

Category: Administration

apt autoclean

Remove outdated package files from the local cache

Removes only outdated package files from the cache — keeps the current version but removes old ones.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.