How does Ubuntu clean up system Spam?

Source: Internet
Author: User

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.