Linux Aptitude Commands

Source: Internet
Author: User

Like Apt-get, Aptitude is the most powerful package management tool in Debian and its derivative systems.

Unlike Apt-get, aptitude is better at dealing with dependency issues.

For example, when aptitude deletes a package, it also deletes the packages it depends on.

This way, the system will not be left with useless packets, the whole system is cleaner. The following is a summary of some of the common aptitude commands, for reference only.

Command Role
Aptitude Update Update the list of available packages
Aptitude Upgrade Upgrade the available packages
Aptitude Dist-upgrade Upgrade your system to a new release
Aptitude Install Pkgname Install package
Aptitude Remove Pkgname Delete Package
Aptitude Purge Pkgname To delete a package and its configuration files
Aptitude search String Search Packages
Aptitude Show Pkgname Display Package Details
Aptitude Clean To delete a downloaded package file
Aptitude AutoClean Delete Expired package files only

Linux Aptitude Commands

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.