Differences between autoclean, clean, and autoremove of apt-get commands

Source: Internet
Author: User
The differences between the autoclean, clean, and autoremove commands of apt-get are summarized as follows: apt-getautoclean: www.2cto.com. if your hard disk space is small, you can regularly run this program to delete the software... the differences between the autoclean, clean, and autoremove commands of apt-get are summarized as follows: apt-get autoclean: www.2cto.com if your hard disk space is small, you can regularly run this program to delete the software package. the deb installation file is deleted from the hard disk. If you still need hard disk space, try apt-get clean. This will delete the installation packages of your installed software packages. of course, these packages are useless in most cases, therefore, this is a good way to store the hard disk. Apt-get clean: similar to the preceding command, but it deletes all packages in the package cache. This is a good practice, because these packages are useless in most cases. But if you use dial-up Internet access, you have to reconsider. Apt-get autoremove: Delete a software package that is installed to meet the requirements of other software packages, but is no longer needed. Www.2cto.com Other: apt-get remove package name: delete the installed package (keep the configuration file ). Apt-get -- purge remove package name: delete the installed package (the configuration file is not retained ).
Related Article

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.