linux deb file installation

dpkg is the abbreviation of Debian Package, which is a package management system specially developed for Debian to facilitate software installation, update and removal. All Linux distributions derived from Debian use dpkg, such as Ubuntu, Knoppix, etc.
Here are some common uses of Dpkg:
1、dpkg -i <package.deb>
Install a Debian package like the one you downloaded manually.
2、dpkg -c <package.deb>
List the contents of <package.deb>.
3、dpkg -I <package.deb>
Extract package information from <package.deb>.
4、dpkg -r <package>
Remove an installed package.
5、dpkg -P <package>
Completely clears an installed package. Unlike remove, which just deletes data and executable files, purge also deletes all configuration files.
6、dpkg -L <package>
List all files installed by <package>. Also see dpkg -c to check the contents of a .deb file.
7、dpkg -s <package>
Displays information about installed packages. Also see apt-cache to display package information in a Debian archive, and dpkg -I to display package information extracted from a .deb file.
8、dpkg-reconfigure <package>
Reconfigure an already installed package if it uses debconf (debconf provides a uniform configuration interface for package installation).

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325577374&siteId=291194637
Recommended