Official package Source: http://packages.ubuntu.com/
Current installed packages under Ubuntu are guaranteed to exist in:/var/cache/apt/archives
Current installation under Ubuntu:/usr/share/applications
The package looks for the installed command form, there are two types of: Apt and dpkg,, generally used is apt command;
Apt: Command function Apt-cache search Package Apt-cache Show packages get information about package, such as description, size, version, etc. sudo apt-get install package sudo apt-ge T install package--Reinstall Reinstall Pack sudo apt-get-f install force install sudo apt-get Remove package remove sudo apt-get remove packag E--Purge delete package, including delete profile etc sudo apt-get autoremove automatically delete unwanted packages sudo apt-get update update source sudo apt-get upgrade update installed packages sudo apt-get Dist-upgrade upgrade system sudo apt-get dselect-upgrade use Dselect upgrade Apt-cache depends package learn to use a dependency Apt-cache Rdepends package to learn about a Specific dependencies sudo apt-get BUILD-DEP package installation related compilation environment Apt-get source packages Download the source code of the bundle sudo apt-get clean && sudo apt-get aut Oclean Clean up the archive for the downloaded file sudo apt-get check to see if there is a corrupted dependency
Dpkg
Dpkg-l View information about the packages that are already installed on the current system
Dpkg-l (package name) View a detailed list of installed software files in the system
Dpkg-s View details of the specified packages that have been installed
Dpkg-s viewing a file in the system belongs to that package;
Dpkg-i installation of *.deb files
Dpkg-r the uninstallation of the *.deb file;
Dpkg-p thorough uninstallation including software configuration files, etc.
To view the Deb package commands that are not installed
Dpkg-c query the files contained in the Deb package file Rpm-qlp
Dpkg-i Query the Deb package for more information
Ubuntu installation package Find and install