Ubuntu automatically installs the apt-GET command.

Source: Internet
Author: User

From: http://blog.csdn.net/chen861201/article/details/7035021

Apt-cache search package

apt-Cache show package obtains package information, for example, description, size, and version
sudo apt-Get install package installation package
sudo apt-Get install package--reinstall the installation package
sudo apt-get-F install force installation
sudo apt-Get remove package Delete package
sudo apt-Get remove package-Purge Delete package, including deleting configuration files.
sudo apt-Get autoremove automatically deletes unnecessary packages.
sudo apt-Get update source
sudo apt-Get upgrade update is installed.
sudo apt-Get dist-upgrade System
sudo apt-Get dselect-upgrade use dselect upgrade
apt-Cache depends package to learn about dependencies
apt-Cache rdepends package: learn about a specific dependency
sudo apt-Get build-dep package installation-related compiling environment
apt-Get source package download the source code of this package
sudo apt-Get Clean & sudo apt-Get autoclean: cleans up the archive of the downloaded file.
sudo apt-Get check checks whether any corrupted dependency exists.

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.