Apt-get is a simple command-line interface for downloading installation packages
How to use:
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 do not physically install (simulate Run command)-y assume that the all query option is-F to try to fix system dependency damage Try to continue-U displays the list of update packages at the same time-B gets the source code package after compiling-V shows the specific version of-c=? Read this profile-o=? Set your own defined configuration options, such as-O dir::cache=/tmp
COMMANDS:
Update again gets the package list Upgrade Update install installs the new package remove Remove package Autoremove itself out of all unused packages purge remove packages and configuration files source code files BUILD-DEP source code package configuration Compile dependent Dist-upgrade release upgrade Dselect-upgrade follow Dselect's selection to update clean clear downloaded archive AutoClean clear old downloaded archive file check check for corrupted dependencies
Frequently used instances:
Apt-cache Search Package_names Searching package Apt-cache show Package_names Get the information about the package, such as description, size, version number, etc. apt-get install Package_ NAMES installation package Apt-get install Package_names--reinstall Another installation package apt-get-f install Package_names repair installation package 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 understand that using dependent Apt-cache rdepends Package_names View the package is dependent on those packages Apt-get BUILD-DEP package_names Installation-related compilation environment Apt-get source Package_ Names download the package source Apt-get Clean cleanup useless package apt-get AutoClean Clean the useless package apt-get check check for corrupted dependencies
apt-get Download the installation package in/var/cache/apt/archives
The Apt-get of Linux commands