There is a cleanup routine. sudo apt-get clean
Linux doesn't delete the files automatically to prevent needing to redownload the file if uninstalled and reinstalled. Many of these packages might simply be for dependencies.
If you want files removed automatically (especially for older versions). Run sudo apt-get autoclean
and sudo apt-get autoremove
.