Ubuntu Uninstall software

Source: Internet
Author: User

Apt-get provides a simple command-line interface for downloading and installing packages.
There are 3 main commands to uninstall a package

remove– Uninstalling Packages
autoremove– uninstalling all packages that are automatically installed and are no longer in use
purge– uninstalling and clearing the configuration of the package

Apt-get Remove Behavior We understand very well, is to delete a package at the same time, delete the package that depends on it
For example: A depends on B, B depends on C
Apt-get Remove B at the same time, will delete a (good understanding, a depends on the b,b is deleted, a will not work properly)

Apt-get Autoremove's behavioral focus is to uninstall all automated installations
For example: C depends on B, D depends on B, and D is not dependent on other manually installed packages
Apt-get Remove C will remove C, prompting you to use Apt-get autoremove to clear b,d apt-get autoremove C will remove B, C, D aptitude Remove C will delete B, C, D
My understanding: Remove C, then b,d both packages are automatically installed, and no other manually installed packages depend on them,
You can decide that b,d is not necessary.

Apt-get purge behavior Uninstall and clear the configuration of the package, it is easy to understand

Ubuntu Uninstall software

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.