Original address: http://www.xitongzhijia.net/xtjc/20150206/37464.html
1. Download the Deb package you need to install, and enter the following command to install:
sudo dpkg-i package.deb
2. View the contents of the Package.deb package:
Dpkg-c Package.deb
3. Extracting information from the Package.deb package:
Dpkg-i Package.deb
4. Remove the installed Deb package:
Dpkg-r Package
5. Complete removal of an installed package. Unlike remove, remove just deletes the data and executable files, purge also removes all the configuration files:
Dpkg-p Package
6. List all files installed in the Deb package, and see Dpkg-c to check the contents of a. deb file:
Dpkg-l Package
7. Displays information about the installed package. Also see Apt-cache shows the package information in the Debian archive, as well as dpkg-i to display the package information extracted from a. deb file:
Dpkg-s Package
8. Re-configure an already installed package if it is using debconf (debconf provides a unified configuration interface for package installation):
Dpkg-reconfigure Package
6.linux Installing the Deb installation package