Aptitude Quick Reference

Source: Internet
Author: User

Like apt-Get, aptitude is a powerful package management tool in Debian and its derivative systems. Unlike apt-Get, aptitude is better in dealing with dependency issues. For example, aptitude deletes the packages it depends on when deleting a package. In this way, useless packages will not be left in the system, and the whole system will be cleaner. The following are some common aptitude commands that I have summarized for your reference only.

Command Function
Aptitude update Update the list of available packages
Aptitude upgrade Upgrade available packages
Aptitude dist-Upgrade Upgrade the system to a new release
Aptitude install pkgname Installation Package
Aptitude remove pkgname Delete package
Aptitude purge pkgname Delete packages and their configuration files
APTITUDE search string Search package
Aptitude show pkgname Show package details
Aptitude clean Delete downloaded package files
Aptitude autoclean Only Delete expired package files

Of course, you can also use aptitude in text interface mode.

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.