Apt-get is a simple command-line interface for downloading installation packages
Usage:
Apt-get [OPTIONS] [COMMANDS] [package_names]
OPTIONS:
-H Help Message-Q output to log-QQ does not output information, except for error-D download only (do not install or unzip the archive)-S does not actually install (Impersonation Execution command)-y assume that all inquiries are selected as-F to try to fix system-dependent damage-m if the archive cannot be located, Try to continue-U displays the list of update packages at the same time B gets the source package after compiling-V displays the detailed version number-c=? Read this profile-o=? Set custom configuration options, such as-O dir::cache=/tmp
COMMANDS:
Update to retrieve the package list upgrade the install new package Remove Remove package Autoremove automatically remove all unused packages purge remove packages and profiles source download source file Build-dep for source package configuration compile dependent D Ist-upgrade Release Upgrade Dselect-upgrade update clean clear downloaded archive According to the Dselect selection AutoClean clear the old downloaded archive file check check for corrupted dependencies
Common examples:
Apt-cache Search Package_names Searching package Apt-cache show Package_names Get the information about the package, such as description, size, version apt-get install Package_ NAMES installation package Apt-get install Package_names--reinstall Reinstall package APT-GET-F Install package_names Repair Installation Pack Apt-get Remove Package _names Delete Package Apt-getremove package_names--purge Delete package, including delete configuration file Apt-get Update source Apt-get upgrade update installed packages Apt-get Dist-upgrade Upgrade System apt-get Dselect-upgrade use Dselect upgrade Apt-cache depends package_names learn to use dependency Apt-cache rdepends Package_names View the package is dependent on those packages Apt-get BUILD-DEP Package_names installation related to the compilation environment Apt-get source package_names Download the source code of the package Apt-get Clean cleans up useless packets apt-get AutoClean cleans up useless packets apt-get check to see if there is a corrupted dependency
apt-get Download the installation package in/var/cache/apt/archives
The Apt-get of Linux commands