Ubuntu cleans up system spam. Unlike Windows systems, Ubuntu tulinux does not generate useless spam files. However, during cache upgrade, Ubuntu tulinux does not automatically delete these files, today we will talk about how to clean up these junk files. 1. very useful cleanup commands... 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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.