Cleaning up after upgrade from 7.x to 8.x

Jun 25, 2022
96
9
13
kindly guide how to clean up the proxmox installation after upgrade from 7.x to 8.x ? there must be unused residual files in the system ?
can these two command is safe to run after upgrade ?

"apt-get autoclean && apt-get autoremove" ??

kindly guide