The clean command will remove every single cached item, while the
auto-clean command only removes cached items that can no longer be
downloaded.
$ sudo apt-get clean
$ sudo apt-get autoremove
it will remove the unnecessary packages.
$ sudo apt-get clean
$ sudo apt-get autoremove
it will remove the unnecessary packages.