I have compiled a detailed description of the apt-GET command in Ubuntu Linux and shared it with you.
Common apt command parameters:
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 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 packageSource code
Sudo apt-Get Clean & sudo apt-Get autoclean clear useless packages
Sudo apt-Get check whether any corrupted dependency exists
Http://www.oschina.net/bbs/thread/7373