Detailed explanation of apt-get commands in UbuntuLinux System

Source: Internet
Author: User
I have sorted out detailed descriptions of the apt-get command in the UbuntuLinux operating system and shared it with you. Common APT command parameters apt-cachesearchpackage search package apt-cacheshowpackage get package information, such as description, size, version, sudoapt-getinstallpackage installation package sudoapt-getinstallpackage

I have compiled a detailed description of the apt-get command in Ubuntu Linux and shared it with you.

Common APT command parameter apt-cache search package

Apt-cache show package obtains package information, such as description, size, and version.

Sudo apt-get install package installation package

Sudo apt-get install package--reinstall re-installation package

Sudo apt-get-f install fix and install "-f = -- fix-missing"

Sudo apt-get remove package Delete package

Sudo apt-get remove package--purge delete a package, including deleting a configuration file.

Sudo apt-get update source

Sudo apt-get upgrade updates installed packages

Sudo apt-get dist-upgrade System

Sudo apt-get dselect-upgrade using dselect

Apt-cache depends package for dependency usage

Apt-cache rdepends package is used to check which packages are dependent on this package.

Sudo apt-get build-dep package installation-related compilation environment

Apt-get source package download the source code of the package

Sudo apt-get clean & sudo apt-get autoclean clear useless packages

Sudo apt-get check whether any corrupted dependency exists

Related Article

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.