Ubuntu Linux does not generate useless junk files, but Ubuntu Linux does not automatically delete these files during cache upgrade, today we will talk about how to clean up these junk files.
1. Useful cleanup commands: sudo apt-get autoclean -- clear old software caches www.2cto.com sudo apt-get clean -- clear all software caches sudo apt-get autoremove -- delete the three commands of isolated software that are no longer in use by the System it mainly cleans and upgrades the cache and useless packages. 2. Clear the cache files of opera firefox: ls ~ /. Opera/cache4ls ~ /. Mozilla/firefox /*. default/Cache 3: Clear the isolated packages in Linux: You can run the following command on the GUI: gtkorphansudo apt-get install gtkorphan-y terminal: deborphansudo apt-get install deborphan-y 4, uninstall: tracker. Generally, If I install Ubuntu, the tracker will be deleted first, which will not only generate a large number of cache files, but also affect the boot speed. So you can delete it in Suntory. Delete unnecessary kernels at www.2cto.com 5: Do not delete any errors. Remember !! Open the terminal knock command: dpkg -- get-selections | grep linux has image is the kernel file to delete the old Kernel File: sudo apt-get remove Kernel File Name (such as: linux-image-2.6.27-2-generic) kernel to delete, the space has been released. The space should be-MB.
Finally, do not forget to look at the current kernel: uname-a Appendix: temporary file directory of package management: t80t90s, author of/var/cache/apt/archives, not downloaded in/var/cache/apt/archives/partial