Linux System Package Management summary

Source: Internet
Author: User

Aptitude:aptitude is a very magical package manager in the Debian Gnu/linux system, based on the famous APT mechanism, which integrates all the functions of Dselect and Apt-get and provides more features, especially in dependency processing.

Some problems apt-get can not solve, must use aptitude solution, some problems, with aptitude can not solve, must use Apt-get.

    • Aptitude better Solution: Install, remove, reinstall (Apt-get without this function), show (Apt-get without this feature), search (Apt-get without this feature), hold (Apt-get no this feature) , Unhold (Apt-get without this function),
    • Apt-get Better solution: Source (aptitude without this function), BUILD-DEP (low version of aptitude without BUILD-DEP function)
    • Apt-get is no different from aptitude: Update, upgrade (Apt-get upgrade=aptitude Safe-upgrade, Apt-get dist-upgrade=aptitude Full-upgrgade)

Synaptic: Synaptic is a graphical front end for Debian and its derivative versions of the package management tool apt, such as the Ubuntu Linux operating system.

Wajig:wajig is a simple software package management front-end, similar to Apt-get, but more features, it integrates Apt-get, dpkg and other Debian system software package management tools together, only with a wajig command to complete a variety of complex management work. Wajig is an additional installation of the software and requires Python support. The package management tool that comes with the base system is still apt-get. Install wajig with Apt-get install Wajig. It also has a gnome GUI front-end interface that allows you to complete all package management tasks with a mouse click.

Some of the Apt-get commands:

Update:update is used to synchronize local and server sources. The synchronized packages are obtained from the/etc/apt/sources.list. When using upgrade or Dist-upgrade, it is best to use the update command to get the latest package.

Install: Installs a new package.

Upgrade: Update all installed packages.

Dist-upgrade: Upgrade the system to a new release.

Clean,remove related commands previous blogs have written.

Linux System Package Management summary

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.